diff options
author | Philipp von Weitershausen <philipp@weitershausen.de> | 2005-10-11 18:36:45 +0000 |
---|---|---|
committer | Philipp von Weitershausen <philipp@weitershausen.de> | 2005-10-11 18:36:45 +0000 |
commit | a992431a86e1b7593fd744200d15dc8c4c0e2a7a (patch) | |
tree | e67a28faecbab497028724849b3a0c259a995673 /dummyengine.py | |
parent | 68795d5e68cf7c791a0433787b27be0feda3ca09 (diff) | |
download | zope-tal-a992431a86e1b7593fd744200d15dc8c4c0e2a7a.tar.gz |
Work around deprecation warnings that would result from the (still
necessary) import of the old-style mutable MessageID implementation.
Diffstat (limited to 'dummyengine.py')
-rw-r--r-- | dummyengine.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dummyengine.py b/dummyengine.py index 4dbe489..b8b73b1 100644 --- a/dummyengine.py +++ b/dummyengine.py @@ -21,7 +21,12 @@ from zope.interface import implements from zope.tal.taldefs import NAME_RE, TALExpressionError, ErrorInfo from zope.tal.interfaces import ITALExpressionCompiler, ITALExpressionEngine from zope.i18n.interfaces import ITranslationDomain + +# BBB 2005/10/10 +import zope.deprecation +zope.deprecation.__show__.off() from zope.i18nmessageid import MessageID, Message +zope.deprecation.__show__.on() Default = object() |