Changeset 3119 in products for quintagroup.plonecomments/trunk/quintagroup/plonecomments/Extensions/Install.py
- Timestamp:
- Apr 14, 2011 6:09:56 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.plonecomments/trunk/quintagroup/plonecomments/Extensions/Install.py
r968 r3119 5 5 out = StringIO() 6 6 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) 8 9 print >> out, "Imported install profile." 9 10 return out.getvalue() … … 12 13 out = StringIO() 13 14 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) 15 17 print >> out, "Imported uninstall profile." 16 18 return out.getvalue()
Note: See TracChangeset
for help on using the changeset viewer.