[ARVADOS] updated: 2.3.2-62-g5e06c0972

Git user git at public.arvados.org
Mon Mar 7 14:34:44 UTC 2022


Summary of changes:
 sdk/python/arvados/commands/run.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  5e06c0972f36d35e45c69bc71efc82c15aefed8f (commit)
      from  00d1cd28d22cdaac23a69c91bc7d4098b59e2a1a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 5e06c0972f36d35e45c69bc71efc82c15aefed8f
Author: Peter Amstutz <peter.amstutz at curii.com>
Date:   Fri Mar 4 17:03:06 2022 -0500

    Fix python2-ism
    
    refs #18656
    
    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