Changeset 1195 in products
- Timestamp:
- Jul 31, 2009 9:15:26 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.transmogrifier/branches/plone-2.1/quintagroup.transmogrifier/quintagroup/transmogrifier/patches.py
r529 r1195 5 5 6 6 try: 7 # if we have GenericSetup product we don't need to register steps in python 8 import Products.GenericSetup 7 from Products.GenericSetup import profile_registry, EXTENSION 9 8 except ImportError: 10 9 from Products.CMFSetup import profile_registry, EXTENSION 11 10 12 if 'quintagroup.transmogrifier:default' not in profile_registry.listProfiles():13 profile_path = os.path.join(os.path.split(__file__)[0], 'profiles/default')14 profile_registry.registerProfile("default",15 "Transmogrifier",16 "Export/import the site's structure and content.",17 profile_path,18 #"quintagroup.transmogrifier",19 profile_type=EXTENSION20 )11 if 'quintagroup.transmogrifier:default' not in profile_registry.listProfiles(): 12 profile_path = os.path.join(os.path.split(__file__)[0], 'profiles/default') 13 profile_registry.registerProfile("default", 14 "Transmogrifier", 15 "Export/import the site's structure and content.", 16 profile_path, 17 #"quintagroup.transmogrifier", 18 profile_type=EXTENSION 19 ) 21 20 22 21 # TarballExportContext don't write dirs in tarball and we need to fix this
Note: See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/trac/chrome/common/qtrac_logo.png)