[Zope-CVS] CVS: Products/Ape/lib/apelib/fs - connection.py:1.5
    Christian Zagrodnick 
    cz at gocept.com
       
    Mon Sep 22 07:15:37 EDT 2003
    
    
  
Update of /cvs-repository/Products/Ape/lib/apelib/fs
In directory cvs.zope.org:/tmp/cvs-serv20559
Modified Files:
	connection.py 
Log Message:
re-raising OSError if not ignoring; you get 
UnboundLocalError: local variable 'fns' referenced before assignment
otherwise.
=== Products/Ape/lib/apelib/fs/connection.py 1.4 => 1.5 ===
--- Products/Ape/lib/apelib/fs/connection.py:1.4	Wed Jul 30 17:33:02 2003
+++ Products/Ape/lib/apelib/fs/connection.py	Mon Sep 22 07:15:36 2003
@@ -108,7 +108,8 @@
         except OSError:
             if ignore_error:
                 return ([], obj_names, trans)
-
+            raise
+        
         filenames = filter(self._isLegalFilename, fns)
         props = self._getPropertiesFromFile(path)
         text = props.get(OBJECT_NAMES_SECTION)
    
    
More information about the Zope-CVS
mailing list