[CMF-checkins] SVN: CMF/branches/1.5/CMFCore/CMFCorePermissions.py
Display offending line when warning about CMFCorePermissions
deprecation.
Florent Guillaume
fg at nuxeo.com
Fri Jul 29 11:37:26 EDT 2005
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)
More information about the CMF-checkins
mailing list