X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/535ff008c43648a7dadeb3f2176abc1540d4ac9b..4ad6191d53207a8b2d4c0c8a30b18119daaa5fbc:/sdk/python/arvados/commands/run.py diff --git a/sdk/python/arvados/commands/run.py b/sdk/python/arvados/commands/run.py index 1e64eeb1da..0fe05da22b 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: