Merge branch 'master' into 7167-keep-rsync
authorradhika <radhika@curoverse.com>
Thu, 22 Oct 2015 17:03:18 +0000 (13:03 -0400)
committerradhika <radhika@curoverse.com>
Thu, 22 Oct 2015 17:03:18 +0000 (13:03 -0400)
sdk/python/arvados/commands/run.py

index be94e7304a34f3a2cdc829cd9a9f4b8339aaaf33..8df945a063f3c76999c882b8f27dc20649c07d8c 100644 (file)
@@ -52,7 +52,7 @@ def is_in_collection(root, branch):
         else:
             sp = os.path.split(root)
             return is_in_collection(sp[0], os.path.join(sp[1], branch))
-    except IOError, OSError:
+    except (IOError, OSError):
         return (None, None)
 
 # Determine the project to place the output of this command by searching upward
@@ -73,7 +73,7 @@ def determine_project(root, current_user):
         else:
             sp = os.path.split(root)
             return determine_project(sp[0], current_user)
-    except IOError, OSError:
+    except (IOError, OSError):
         return current_user
 
 # Determine if string corresponds to a file, and if that file is part of a