[ARVADOS] updated: 2.1.0-2026-ga4e945b6d

Git user git at public.arvados.org
Fri Mar 4 22:13:19 UTC 2022


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

       via  a4e945b6d279443e53af95cdf806a1c1339a76b8 (commit)
      from  c3577ec1ea5232b92c23118c0606d560a605aed5 (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 a4e945b6d279443e53af95cdf806a1c1339a76b8
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