[CMF-checkins] CVS: CMF/CMFCore - FSMetadata.py:1.4.4.2

Tres Seaver tseaver at zope.com
Mon Jan 12 11:32:13 EST 2004


Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv24452/CMFCore

Modified Files:
      Tag: CMF-1_4-branch
	FSMetadata.py 
Log Message:


  - Correct parsing of the "acquire" flag in the metadata file (the
    flag should be converted to an int).


=== CMF/CMFCore/FSMetadata.py 1.4.4.1 => 1.4.4.2 ===
--- CMF/CMFCore/FSMetadata.py:1.4.4.1	Sat May 24 10:40:31 2003
+++ CMF/CMFCore/FSMetadata.py	Mon Jan 12 11:31:42 2004
@@ -100,7 +100,7 @@
 
         acquire, roles = data.split(':')
         roles = [r.strip() for r in roles.split(',') if r.strip()]
-        return (acquire, roles)
+        return (int(acquire), roles)
 
     def _getSectionDict(self, cfg, section, parser=None):
         """




More information about the CMF-checkins mailing list