Log message for revision 68541: Avoid deprecation warning with Zope 2.10.
Changed: U CMF/branches/2.0/DCWorkflow/tests/test_guard.py -=- Modified: CMF/branches/2.0/DCWorkflow/tests/test_guard.py =================================================================== --- CMF/branches/2.0/DCWorkflow/tests/test_guard.py 2006-06-09 13:53:14 UTC (rev 68540) +++ CMF/branches/2.0/DCWorkflow/tests/test_guard.py 2006-06-09 13:53:32 UTC (rev 68541) @@ -19,7 +19,11 @@ import Testing from AccessControl import getSecurityManager -from Products.PageTemplates.TALES import CompilerError +try: + from zope.tales.tales import CompilerError +except ImportError: + # BBB: Zope < 2.10 + from Products.PageTemplates.TALES import CompilerError from Products.CMFCore.tests.base.dummy import DummyContent from Products.CMFCore.tests.base.dummy import DummySite _______________________________________________ CMF-checkins mailing list [email protected] http://mail.zope.org/mailman/listinfo/cmf-checkins
