Changeset: 85df34cb558c for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=85df34cb558c
Modified Files:
        testing/Mz.py.in
Branch: mtest
Log Message:

small fix


diffs (19 lines):

diff --git a/testing/Mz.py.in b/testing/Mz.py.in
--- a/testing/Mz.py.in
+++ b/testing/Mz.py.in
@@ -1943,10 +1943,11 @@ def DoIt(env, SERVER, CALL, TST, EXT, Te
 
     # clean up empty files
     for f in [SrvrOutFile, SrvrErrFile, ClntOutFile, ClntErrFile]:
-        if os.path.getsize(f) > 0:
-            continue
-        else:
-            os.remove(f)
+        if os.path.exists(f):
+            if os.path.getsize(f) > 0:
+                continue
+            else:
+                os.remove(f)
 
     if returncode is None and pSrvr is not None:
         returncode = pSrvr.code # can still be None
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to