[Zope-Checkins] SVN: Zope/trunk/lib/python/Zope.py Put warning on a single line.

Florent Guillaume fg at nuxeo.com
Wed Jul 27 09:56:05 EDT 2005


Log message for revision 37481:
  Put warning on a single line.
  

Changed:
  U   Zope/trunk/lib/python/Zope.py

-=-
Modified: Zope/trunk/lib/python/Zope.py
===================================================================
--- Zope/trunk/lib/python/Zope.py	2005-07-27 13:38:39 UTC (rev 37480)
+++ Zope/trunk/lib/python/Zope.py	2005-07-27 13:56:04 UTC (rev 37481)
@@ -20,8 +20,7 @@
 sys.modules['Zope'] = Zope2
 
 import warnings
-warnings.warn("The Zope package has been renamed to Zope2.\n"
-              "Import of a package named 'Zope' is deprecated\n"
-              "and will be disabled starting in Zope 2.11.\n"
-              ,
+warnings.warn("The Zope package has been renamed to Zope2. "
+              "Import of a package named 'Zope' is deprecated "
+              "and will be disabled starting in Zope 2.11.",
               DeprecationWarning, stacklevel=2)



More information about the Zope-Checkins mailing list