summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <daniel.silverstone@codethink.co.uk>2012-09-25 10:10:22 +0100
committerDaniel Silverstone <daniel.silverstone@codethink.co.uk>2012-09-25 10:10:22 +0100
commit0c565dad330311882c04aba9de007b7d6e4d5128 (patch)
tree1d3f7c601ab910b0cd7d985971d5dafc18d4c02f
parentfb90f0af1d4ef3a6b644ce71ee100a8d98d32c12 (diff)
downloadlorry-0c565dad330311882c04aba9de007b7d6e4d5128.tar.gz
Do not run tarball imports unless necessary
-rwxr-xr-xlorry1
1 files changed, 1 insertions, 0 deletions
diff --git a/lorry b/lorry
index 5fea080..6dfc27b 100755
--- a/lorry
+++ b/lorry
@@ -423,6 +423,7 @@ class Lorry(cliapp.Application):
urlfile.close()
else:
self.progress('.. no need to run, nothing to do')
+ return
if not os.path.exists(gitdir):
self.run_program(['git', 'init', '--bare', gitdir])
cmdline = ["%s.tar-importer" % __file__, tardest]