run_upload_packages.py should make sure the directory it tries to put a
[arvados-dev.git] / jenkins / run_upload_packages.py
index 8a31d2e383bc20ba1c71d76c397dae9a9b64fc11..daa72353773d1492d8eebe12c94b719b630a6cc0 100755 (executable)
@@ -56,7 +56,7 @@ class TimestampFile:
         try:
             os.makedirs(p)
         except OSError as exc:
-            if exc.errno == errno.EEXIST and os.path.isdir(path):
+            if exc.errno == errno.EEXIST and os.path.isdir(p):
                 pass
             else:
                 raise