Last change
on this file since 3168 was
3168,
checked in by vmaksymiv, 13 years ago
|
pep8, pyflakes fixes
|
-
Property svn:eol-style set to
native
|
File size:
318 bytes
|
Rev | Line | |
---|
[2083] | 1 | from Products.CMFCore import permissions as cmfcore_permissions |
---|
| 2 | |
---|
[1973] | 3 | PROJECTNAME = "quintagroup.pfg.captcha" |
---|
[2083] | 4 | |
---|
| 5 | ADD_PERMISSION = cmfcore_permissions.AddPortalContent |
---|
[2852] | 6 | |
---|
[3168] | 7 | try: |
---|
| 8 | # Plone 4 and higher |
---|
| 9 | import plone.app.upgrade |
---|
| 10 | PLONE_VERSION = 4 |
---|
| 11 | # for pyflakes test |
---|
| 12 | plone |
---|
| 13 | except ImportError: |
---|
[2852] | 14 | PLONE_VERSION = 3 |
---|
Note: See
TracBrowser
for help on using the repository browser.