]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Use correct cwd
authorZack Cerza <zack@cerza.org>
Mon, 9 Jun 2014 14:22:21 +0000 (09:22 -0500)
committerZack Cerza <zack@cerza.org>
Mon, 9 Jun 2014 14:22:21 +0000 (09:22 -0500)
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
teuthology/worker.py

index cdd76483cca7fa3bddb593d3e76abb9ba861950e..0b016002c3b7444723d12524165171cd883b85f7 100644 (file)
@@ -92,7 +92,7 @@ def fetch_teuthology_branch(path, branch='master'):
     lock.acquire()
     try:
         if os.path.isdir(path):
-            p = subprocess.Popen('git status', shell=True)
+            p = subprocess.Popen('git status', shell=True, cwd=path)
             if p.wait() == 128:
                 log.info("Repo at %s appears corrupt; removing",
                          branch)