[Zope-Checkins] 
	SVN: Zope/branches/Zope-2_8-branch/lib/python/Zope.py
	Put warning on a single line.
    Florent Guillaume 
    fg at nuxeo.com
       
    Wed Jul 27 09:58:22 EDT 2005
    
    
  
Log message for revision 37482:
  Put warning on a single line.
  
Changed:
  U   Zope/branches/Zope-2_8-branch/lib/python/Zope.py
-=-
Modified: Zope/branches/Zope-2_8-branch/lib/python/Zope.py
===================================================================
--- Zope/branches/Zope-2_8-branch/lib/python/Zope.py	2005-07-27 13:56:04 UTC (rev 37481)
+++ Zope/branches/Zope-2_8-branch/lib/python/Zope.py	2005-07-27 13:58:22 UTC (rev 37482)
@@ -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