[Zope3-checkins] SVN: zdaemon/trunk/src/zdaemon/tests/testzdrun.py Repair idiot logic error I just introduced.

Tim Peters tim.one at comcast.net
Thu Dec 15 15:45:56 EST 2005


Log message for revision 40792:
  Repair idiot logic error I just introduced.
  

Changed:
  U   zdaemon/trunk/src/zdaemon/tests/testzdrun.py

-=-
Modified: zdaemon/trunk/src/zdaemon/tests/testzdrun.py
===================================================================
--- zdaemon/trunk/src/zdaemon/tests/testzdrun.py	2005-12-15 20:30:13 UTC (rev 40791)
+++ zdaemon/trunk/src/zdaemon/tests/testzdrun.py	2005-12-15 20:45:55 UTC (rev 40792)
@@ -258,7 +258,7 @@
             # unlinking it before shutil gets to it (there's more
             # than one process here).  So, in effect, we code a
             # 1-level rmtree inline here, suppressing errors.
-            for fname in os.listdir('.'):
+            for fname in os.listdir(tmp):
                 try:
                     os.unlink(os.path.join(tmp, fname))
                 except os.error:



More information about the Zope3-Checkins mailing list