Ignore:
Timestamp:
Apr 14, 2011 6:09:56 PM (13 years ago)
Author:
kroman0
Message:

Pyflakes and pep8 fixes #6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.plonecomments/trunk/quintagroup/plonecomments/Extensions/Install.py

    r968 r3119  
    55    out = StringIO() 
    66    setup_tool = getToolByName(self, 'portal_setup') 
    7     setup_tool.runAllImportStepsFromProfile('profile-quintagroup.plonecomments:default') 
     7    profile = 'profile-quintagroup.plonecomments:default' 
     8    setup_tool.runAllImportStepsFromProfile(profile) 
    89    print >> out, "Imported install profile." 
    910    return out.getvalue() 
     
    1213    out = StringIO() 
    1314    setup_tool = getToolByName(self, 'portal_setup') 
    14     setup_tool.runAllImportStepsFromProfile('profile-quintagroup.plonecomments:uninstall') 
     15    profile = 'profile-quintagroup.plonecomments:uninstall' 
     16    setup_tool.runAllImportStepsFromProfile(profile) 
    1517    print >> out, "Imported uninstall profile." 
    1618    return out.getvalue() 
Note: See TracChangeset for help on using the changeset viewer.