[Zope-Checkins] CVS: Zope2 - ObjectManager.py:1.138
andreas@serenade.digicool.com
andreas@serenade.digicool.com
Tue, 3 Jul 2001 14:18:35 -0400
Update of /cvs-repository/Zope2/lib/python/OFS
In directory serenade:/tmp/cvs-serv28480
Modified Files:
ObjectManager.py
Log Message:
introducing '$' as allowed character for object IDs
(needed to support Webdrive to create temporary files)
--- Updated File ObjectManager.py in package Zope2 --
--- ObjectManager.py 2001/05/30 15:57:31 1.137
+++ ObjectManager.py 2001/07/03 18:18:34 1.138
@@ -109,7 +109,7 @@
XMLExportImport.magic: XMLExportImport.importXML,
}
-bad_id=re.compile(r'[^a-zA-Z0-9-_~,. ]').search #TS
+bad_id=re.compile(r'[^a-zA-Z0-9-_~,.$ ]').search #TS
# Global constants: __replaceable__ flags:
NOT_REPLACEABLE = 0
@@ -234,6 +234,7 @@
gmt = []
for entry in Products.meta_types:
+
if interfaces is None:
if entry.get("visibility", None) == "Global":
gmt.append(entry)