Changeset 1195 in products


Ignore:
Timestamp:
Jul 31, 2009 9:15:26 AM (15 years ago)
Author:
koval
Message:

now package is compatible with plone 2.5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.transmogrifier/branches/plone-2.1/quintagroup.transmogrifier/quintagroup/transmogrifier/patches.py

    r529 r1195  
    55 
    66try: 
    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 
    98except ImportError: 
    109    from Products.CMFSetup import profile_registry, EXTENSION 
    1110 
    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=EXTENSION 
    20                                          ) 
     11if '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                                    ) 
    2120 
    2221# TarballExportContext don't write dirs in tarball and we need to fix this 
Note: See TracChangeset for help on using the changeset viewer.