We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c886ce commit 3823f8fCopy full SHA for 3823f8f
Products/CMFPlone/__init__.py
@@ -10,8 +10,10 @@
10
__version__ = pkg_resources.require("Products.CMFPlone")[0].version
11
12
if __version__ < '7':
13
- from Products.CMFCore.explicitacquisition import PTA_ENV_KEY
+ from Products.CMFCore import explicitacquisition
14
+ PTA_ENV_KEY = explicitacquisition.PTA_ENV_KEY
15
os.environ[PTA_ENV_KEY] = os.environ.get(PTA_ENV_KEY, 'false')
16
+ explicitacquisition.SKIP_PTA = os.environ.get(PTA_ENV_KEY, "true") == "false"
17
18
cmfplone_globals = globals()
19
this_module = sys.modules[__name__]
0 commit comments