fixes and docs for testing crunch jobs locally
[arvados.git] / sdk / python / arvados.py
index 37ca4c8199282fb4ba93fd119b5b4cd6d41209d4..0ae5ad0c06df9c26ccccb455af4794200a155ade 100644 (file)
@@ -130,9 +130,9 @@ class util:
             path = os.path.join(current_job().tmpdir, path)
         if not os.path.exists(path):
             util.run_command(["git", "clone", url, path],
-                             cwd=os.path.dirname(parser_path))
+                             cwd=os.path.dirname(path))
         util.run_command(["git", "checkout", version],
-                         cwd=parser_path)
+                         cwd=path)
         return path
 
 class DataReader: