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) _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins