source: products/CMFPlone_membership_hotfix/trunk/__init__.py @ 1656

Last change on this file since 1656 was 1, checked in by myroslav, 14 years ago

Building directory structure

  • Property svn:eol-style set to native
File size: 472 bytes
Line 
1import os
2from Globals import package_home
3
4from Products.CMFPlone import cmfplone_globals
5path = os.path.join(package_home(cmfplone_globals))
6files=os.listdir(path)
7for f in files:
8    if f.lower()=='version.txt':
9        version = open(os.path.join(path,f)).read().strip()
10        if version.startswith('2.0.'):
11            import patch_del_members, patch_portraits
12        elif version.strip() in ('2.1.1', '2.1.2', '2.1.3', '2.5'):
13            import patch_portraits
14
Note: See TracBrowser for help on using the repository browser.