From 0c565dad330311882c04aba9de007b7d6e4d5128 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Tue, 25 Sep 2012 10:10:22 +0100 Subject: Do not run tarball imports unless necessary --- lorry | 1 + 1 file changed, 1 insertion(+) 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] -- cgit v1.2.1