[Zope3-checkins]
SVN: Zope3/trunk/src/zope/configuration/xmlconfig.py
More explicit deprecation warning message.
Baiju M
baiju.m.mail at gmail.com
Thu Feb 22 00:58:30 EST 2007
Log message for revision 72753:
More explicit deprecation warning message.
Changed:
U Zope3/trunk/src/zope/configuration/xmlconfig.py
-=-
Modified: Zope3/trunk/src/zope/configuration/xmlconfig.py
===================================================================
--- Zope3/trunk/src/zope/configuration/xmlconfig.py 2007-02-21 21:16:34 UTC (rev 72752)
+++ Zope3/trunk/src/zope/configuration/xmlconfig.py 2007-02-22 05:58:28 UTC (rev 72753)
@@ -503,10 +503,10 @@
dirpath, filename = os.path.split(file)
file = os.path.join(dirpath, "zcmlfiles", filename)
import warnings
- warnings.warn('Change the site.zcml '
- 'Replace: <include package="zope.app" /> '
+ warnings.warn('In configuration file: %s '
+ 'replace: <include package="zope.app" /> '
'with: <include package="zope.app.zcmlfiles" /> '
- "This will go away in Zope 3.6.",
+ 'This will go away in Zope 3.6.' % os.path.abspath(file),
DeprecationWarning,
2)
More information about the Zope3-Checkins
mailing list