Log message for revision 37540:
Display offending line when warning about CMFCorePermissions deprecation.
Changed:
U CMF/branches/1.5/CMFCore/CMFCorePermissions.py
-=-
Modified: CMF/branches/1.5/CMFCore/CMFCorePermissions.py
===================================================================
--- CMF/branches/1.5/CMFCore/CMFCorePermissions.py 2005-07-29 15:26:30 UTC
(rev 37539)
+++ CMF/branches/1.5/CMFCore/CMFCorePermissions.py 2005-07-29 15:37:26 UTC
(rev 37540)
@@ -21,4 +21,4 @@
warn( "The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated "
"compatiblity alias for 'Products.CMFCore.permissions'; please use "
- "the new module instead.", DeprecationWarning)
+ "the new module instead.", DeprecationWarning, stacklevel=2)
_______________________________________________
CMF-checkins mailing list
[email protected]
http://mail.zope.org/mailman/listinfo/cmf-checkins