]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
Drop a "fix" for a bug that probably never existed
authorZack Cerza <zack@cerza.org>
Fri, 27 Jun 2014 16:18:05 +0000 (10:18 -0600)
committerZack Cerza <zack@cerza.org>
Fri, 27 Jun 2014 16:18:05 +0000 (10:18 -0600)
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
teuthology/repo_utils.py

index e085f52011eaf6b2edd3114f8326881f4068b785..f9b34b6947e1a99c63f07c2d0de17f5f9fa0afce 100644 (file)
@@ -8,13 +8,6 @@ log = logging.getLogger(__name__)
 
 
 def checkout_repo(repo_url, dest_path, branch):
-    # if os.path.isdir(path):
-    #     p = subprocess.Popen('git status', shell=True, cwd=path)
-    #     if p.wait() == 128:
-    #         log.info("Repo at %s appears corrupt; removing",
-    #                  branch)
-    #         shutil.rmtree(path)
-
     if not os.path.isdir(dest_path):
         log.info("Cloning %s %s from upstream", repo_url, branch)
         proc = subprocess.Popen(