[Zope-Checkins] CVS: Zope2 - ObjectManager.py:1.131.2.5

Andreas Jung andreas@dhcp165.digicool.com
Mon, 2 Apr 2001 14:54:16 -0400


Update of /cvs-repository/Zope2/lib/python/OFS
In directory yetix:/work/zope/Zope2/Zope2/lib/python/OFS

Modified Files:
      Tag: ajung_Zope2_FTP_globbing_patch
	ObjectManager.py 
Log Message:
added support for non-US letters in object IDs. This feature depends
on the locale settings. To make use of this feature one must start
Zope with the -L option.



--- Updated File ObjectManager.py in package Zope2 --
--- ObjectManager.py	2001/04/02 13:28:18	1.131.2.4
+++ ObjectManager.py	2001/04/02 18:54:08	1.131.2.5
@@ -110,7 +110,7 @@
     XMLExportImport.magic: XMLExportImport.importXML,
     }
 
-bad_id=ts_regex.compile('[^a-zA-Z0-9-_~\,\. ]').search #TS
+bad_id=ts_regex.compile('[^0-9-_~\,\. %s]' % string.letters).search # ajung
 
 # Global constants: __replaceable__ flags:
 NOT_REPLACEABLE = 0