[CMF-checkins] CVS: Products/CMFCore - FSPropertiesObject.py:1.22
Jens Vagelpohl
jens at dataflake.org
Wed Mar 23 13:38:26 EST 2005
Update of /cvs-repository/Products/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv24991
Modified Files:
FSPropertiesObject.py
Log Message:
- add deprecation warning
=== Products/CMFCore/FSPropertiesObject.py 1.21 => 1.22 ===
--- Products/CMFCore/FSPropertiesObject.py:1.21 Wed Mar 23 13:37:12 2005
+++ Products/CMFCore/FSPropertiesObject.py Wed Mar 23 13:38:26 2005
@@ -14,6 +14,7 @@
$Id$
"""
+from warnings import warn
import Globals
from AccessControl import ClassSecurityInfo
@@ -90,6 +91,8 @@
Read the file (indicated by exandpath(self._filepath), and parse the
data if necessary.
"""
+ warn('FSProperties objects will disappear in CMF 1.7 - Use '
+ 'FSMetadata objects instead.', DeprecationWarning)
fp = expandpath(self._filepath)
More information about the CMF-checkins
mailing list