Ignore:
Timestamp:
Apr 16, 2010 12:13:55 PM (14 years ago)
Author:
kroman0
Message:

PEP8 fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.plonecomments/branches/jquery/quintagroup/plonecomments/Extensions/Install.py

    r968 r2137  
    11from Products.CMFCore.utils import getToolByName 
    22from StringIO import StringIO 
     3 
    34 
    45def install(self): 
    56    out = StringIO() 
    67    setup_tool = getToolByName(self, 'portal_setup') 
    7     setup_tool.runAllImportStepsFromProfile('profile-quintagroup.plonecomments:default') 
     8    setup_tool.runAllImportStepsFromProfile( 
     9        'profile-quintagroup.plonecomments:default') 
    810    print >> out, "Imported install profile." 
    911    return out.getvalue() 
     12 
    1013 
    1114def uninstall(self): 
    1215    out = StringIO() 
    1316    setup_tool = getToolByName(self, 'portal_setup') 
    14     setup_tool.runAllImportStepsFromProfile('profile-quintagroup.plonecomments:uninstall') 
     17    setup_tool.runAllImportStepsFromProfile( 
     18        'profile-quintagroup.plonecomments:uninstall') 
    1519    print >> out, "Imported uninstall profile." 
    1620    return out.getvalue() 
Note: See TracChangeset for help on using the changeset viewer.