[Zope-Checkins] CVS: Zope2 - ObjectManager.py:1.131.2.2
Andreas Jung
andreas@dhcp165.digicool.com
Fri, 30 Mar 2001 10:51:54 -0500
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:
changed default values for globbing parameter
--- Updated File ObjectManager.py in package Zope2 --
--- ObjectManager.py 2001/03/29 19:25:22 1.131.2.1
+++ ObjectManager.py 2001/03/30 15:51:53 1.131.2.2
@@ -605,7 +605,7 @@
# Perform globbing on list of files (ajung)
globbing = REQUEST.environ.get('GLOBBING','')
- if globbing != '':
+ if globbing is not None:
files = filter(lambda x,g=globbing: fnmatch.fnmatch(x[0],g) , files)