[CMF-checkins] CVS: Products/CMFCore - FSPropertiesObject.py:1.19.2.1

Jens Vagelpohl jens at dataflake.org
Wed Mar 23 13:50:46 EST 2005


Update of /cvs-repository/Products/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv28703/CMFCore

Modified Files:
      Tag: CMF-1_5-branch
	FSPropertiesObject.py 
Log Message:
- CMFCore.FSPropertiesObject: Added a deprecation warning to announce the
  fact that .properties files will disappear in CMF 1.7 and should be
  replaced with CMFCore.FSMetadata (.metadata) files.



=== Products/CMFCore/FSPropertiesObject.py 1.19 => 1.19.2.1 ===
--- Products/CMFCore/FSPropertiesObject.py:1.19	Thu Aug 12 11:07:39 2004
+++ Products/CMFCore/FSPropertiesObject.py	Wed Mar 23 13:50:46 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