summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sherwood <paul.sherwood@codethink.co.uk>2015-10-11 13:24:42 +0100
committerPaul Sherwood <paul.sherwood@codethink.co.uk>2015-10-11 13:24:42 +0100
commitda21223523d5570abb9d5c60d1fe12956f6b1d64 (patch)
tree587b95c3c9aac345b8bd82d9ce3a4c3952682401
parentff93233e5e78ab4e3f7bffa1178c5e17dce72d7c (diff)
downloadybd-da21223523d5570abb9d5c60d1fe12956f6b1d64.tar.gz
Tarball attempt was failing because tmpdir already exists
-rw-r--r--ybd/repos.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/ybd/repos.py b/ybd/repos.py
index c711082..299d183 100644
--- a/ybd/repos.py
+++ b/ybd/repos.py
@@ -112,7 +112,6 @@ def mirror(name, repo):
tmpdir = tempfile.mkdtemp()
repo_url = get_repo_url(repo)
try:
- os.makedirs(tmpdir)
tar_file = get_repo_name(repo_url) + '.tar'
app.log(name, 'Try fetching tarball %s' % tar_file)
# try tarball first