From: Zack Cerza Date: Fri, 27 Jun 2014 16:18:05 +0000 (-0600) Subject: Drop a "fix" for a bug that probably never existed X-Git-Tag: 1.1.0~1359^2~8 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=25a40677cc835b2946365b363b8b4360e59c0654;p=teuthology.git Drop a "fix" for a bug that probably never existed Signed-off-by: Zack Cerza --- diff --git a/teuthology/repo_utils.py b/teuthology/repo_utils.py index e085f520..f9b34b69 100644 --- a/teuthology/repo_utils.py +++ b/teuthology/repo_utils.py @@ -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(