Drop a "fix" for a bug that probably never existed

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
This commit is contained in:
Zack Cerza 2014-06-27 10:18:05 -06:00
parent a4c3a02547
commit 25a40677cc

View 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(