source: products/quintagroup.pfg.captcha/trunk/quintagroup/pfg/captcha/config.py @ 3168

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
RevLine 
[2083]1from Products.CMFCore import permissions as cmfcore_permissions
2
[1973]3PROJECTNAME = "quintagroup.pfg.captcha"
[2083]4
5ADD_PERMISSION = cmfcore_permissions.AddPortalContent
[2852]6
[3168]7try:
8    # Plone 4 and higher
9    import plone.app.upgrade
10    PLONE_VERSION = 4
11    # for pyflakes test
12    plone
13except ImportError:
[2852]14    PLONE_VERSION = 3
Note: See TracBrowser for help on using the repository browser.