Commit d10c64f7 authored by Jérome Perrin's avatar Jérome Perrin

revert 35492, Localizer < 1.2 is still used


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35494 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f7d07bea
...@@ -54,6 +54,13 @@ except ImportError: ...@@ -54,6 +54,13 @@ except ImportError:
def setSite(site=None): def setSite(site=None):
pass pass
try:
import itools.zope
def get_context():
return current_app
itools.zope.get_context = get_context
except ImportError:
pass
import transaction import transaction
from Testing import ZopeTestCase from Testing import ZopeTestCase
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment