summaryrefslogtreecommitdiff
path: root/gbp-clone
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2010-06-07 17:29:21 +0200
committerGuido Günther <agx@sigxcpu.org>2010-06-07 17:29:21 +0200
commit488f16c19b9eb1a6d54595f6bcd1e3904655c045 (patch)
tree086a804bd196d372f26364bb8180130466ca98a1 /gbp-clone
parent65ea70f50aafba9bfd50ffd8372be81c64a7ee66 (diff)
downloadgit-buildpackage-488f16c19b9eb1a6d54595f6bcd1e3904655c045.tar.gz
git-buildpackage-488f16c19b9eb1a6d54595f6bcd1e3904655c045.tar.bz2
git-buildpackage-488f16c19b9eb1a6d54595f6bcd1e3904655c045.zip
No need to assign repo
Diffstat (limited to 'gbp-clone')
-rwxr-xr-xgbp-clone3
1 files changed, 1 insertions, 2 deletions
diff --git a/gbp-clone b/gbp-clone
index 10186ccb..02f22b5e 100755
--- 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])