run_upload_packages.py should make sure the directory it tries to put a
authorWard Vandewege <ward@curii.com>
Thu, 28 Jan 2021 22:48:12 +0000 (17:48 -0500)
committerWard Vandewege <ward@curii.com>
Thu, 28 Jan 2021 22:48:12 +0000 (17:48 -0500)
timestamp file in exists (bugfix).

No issue #

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

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