[ARVADOS] created: 2.1.0-2026-g2fb919ed6
Git user
git at public.arvados.org
Fri Mar 4 22:10:44 UTC 2022
at 2fb919ed6ea864343504d457b40b10ddc18e4102 (commit)
commit 2fb919ed6ea864343504d457b40b10ddc18e4102
Author: Peter Amstutz <peter.amstutz at curii.com>
Date: Fri Mar 4 17:03:06 2022 -0500
18656: Fix python2-ism
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>
diff --git a/sdk/python/arvados/commands/run.py b/sdk/python/arvados/commands/run.py
index 1e64eeb1d..0fe05da22 100644
--- a/sdk/python/arvados/commands/run.py
+++ b/sdk/python/arvados/commands/run.py
@@ -65,7 +65,7 @@ def is_in_collection(root, branch):
return (None, None)
fn = os.path.join(root, ".arvados#collection")
if os.path.exists(fn):
- with file(fn, 'r') as f:
+ with open(fn, 'r') as f:
c = json.load(f)
return (c["portable_data_hash"], branch)
else:
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list