arv-copy git check doesn't catch system exceptions.
[arvados.git] / sdk / python / arvados / commands / arv_copy.py
index 09cd9d42e3bb8b6969501f01c3800b2ddca68d74..b68b5dccf5f7facf4aefe2efe69247a2871af05f 100755 (executable)
@@ -192,7 +192,7 @@ def api_for_instance(instance_name):
 def check_git_availability():
     try:
         arvados.util.run_command(['git', '--help'])
-    except:
+    except Exception:
         abort('git command is not available. Please ensure git is installed.')
 
 # copy_pipeline_instance(pi_uuid, src, dst, args)