[Zodb-checkins] SVN: ZODB/branches/3.3/test.py Merge rev 27704 from ZODB trunk.

Tim Peters tim.one at comcast.net
Wed Sep 29 17:30:16 EDT 2004


Log message for revision 27708:
  Merge rev 27704 from ZODB trunk.
  
  os.listdir() now prints errors on stdout
  


Changed:
  U   ZODB/branches/3.3/test.py


-=-
Modified: ZODB/branches/3.3/test.py
===================================================================
--- ZODB/branches/3.3/test.py	2004-09-29 17:42:44 UTC (rev 27707)
+++ ZODB/branches/3.3/test.py	2004-09-29 21:30:16 UTC (rev 27708)
@@ -448,7 +448,8 @@
     """
     try:
         names = os.listdir(top)
-    except os.error:
+    except os.error, why:
+        print "Error listing %r: %s" % (top, why)
         return
     func(arg, top, names)
     exceptions = ('.', '..')



More information about the Zodb-checkins mailing list