Last change
on this file since 3309 was
1,
checked in by myroslav, 19 years ago
|
Building directory structure
|
-
Property svn:eol-style set to
native
|
File size:
472 bytes
|
Rev | Line | |
---|
[1] | 1 | import os |
---|
| 2 | from Globals import package_home |
---|
| 3 | |
---|
| 4 | from Products.CMFPlone import cmfplone_globals |
---|
| 5 | path = os.path.join(package_home(cmfplone_globals)) |
---|
| 6 | files=os.listdir(path) |
---|
| 7 | for 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.