No need to assign repo
authorGuido Günther <agx@sigxcpu.org>
Mon, 7 Jun 2010 15:29:21 +0000 (17:29 +0200)
committerGuido Günther <agx@sigxcpu.org>
Mon, 7 Jun 2010 15:29:21 +0000 (17:29 +0200)
gbp-clone

index 10186cc..02f22b5 100755 (executable)
--- a/gbp-clone
+++ b/gbp-clone
@@ -58,13 +58,12 @@ def main(argv):
         Command.verbose = True
 
     try:
-        repo = GitRepository(os.path.curdir)
+        GitRepository(os.path.curdir)
         print >>sys.stderr, "Can't run inside a git repository."
         return 1
     except GitRepositoryError:
         pass
 
-
     try:
         GitClone()([repo])