Skip to content

Commit

Permalink
Fix imports from Globals that was removed in Zope4
Browse files Browse the repository at this point in the history
  • Loading branch information
pbauer committed Oct 23, 2016
1 parent 1f242a7 commit 62fd8bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ New features:

Bug fixes:

- Fix imports from Globals that was removed in Zope4
[pbauer]

- Require plone.app.imaging even if Plone itself does not. [davisagli]


Expand Down
3 changes: 1 addition & 2 deletions Products/ATContentTypes/configuration/config.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# -*- coding: utf-8 -*-
from Globals import INSTANCE_HOME
from Products.ATContentTypes.configuration.schema import atctSchema
from ZConfig.loader import ConfigLoader

import os


# directories
INSTANCE_ETC = os.path.join(INSTANCE_HOME, 'etc')
INSTANCE_ETC = os.path.join(os.environ.get('INSTANCE_HOME'), 'etc')
_here = os.path.dirname(__file__)
ATCT_HOME = os.path.dirname(os.path.abspath(os.path.join(_here)))
ATCT_ETC = os.path.join(ATCT_HOME, 'etc')
Expand Down

0 comments on commit 62fd8bc

Please sign in to comment.