[Checkins] SVN: zope.configuration/trunk/ Py3k compat for file used in running Sphinx doctest snippets.

Tres Seaver cvs-admin at zope.org
Thu Jul 26 19:50:40 UTC 2012


Log message for revision 127390:
  Py3k compat for file used in running Sphinx doctest snippets.

Changed:
  _U  zope.configuration/trunk/
  U   zope.configuration/trunk/src/zope/configuration/tests/conditions.py

-=-
Modified: zope.configuration/trunk/src/zope/configuration/tests/conditions.py
===================================================================
--- zope.configuration/trunk/src/zope/configuration/tests/conditions.py	2012-07-26 19:50:32 UTC (rev 127389)
+++ zope.configuration/trunk/src/zope/configuration/tests/conditions.py	2012-07-26 19:50:37 UTC (rev 127390)
@@ -16,13 +16,15 @@
 from zope.interface import Interface
 from zope.schema import Id
 
+from zope.configuration._compat import u
 
+
 class IRegister(Interface):
     """Trivial sample registry."""
 
     id = Id(
-        title=u"Identifier",
-        description=u"Some identifier that can be checked.",
+        title=u("Identifier"),
+        description=u("Some identifier that can be checked."),
         required=True,
         )
 



More information about the checkins mailing list