aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Guenther <agx@sigxcpu.org>2007-05-29 07:54:31 +0200
committerGuido Guenther <agx@bogon.sigxcpu.org>2007-05-29 07:54:31 +0200
commit846d4d136db2136c4b2379e1eedcfbb18ce070a8 (patch)
tree6d881d70313758215e59ae9aace2fcfbf912d1ec
parent9cddf82d5dcbfb4860b5612bc7800c3f63a01ffd (diff)
don't use ret to check repository cleaness
-rwxr-xr-xgit-import-orig4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-import-orig b/git-import-orig
index 521446d1..cff1fc61 100755
--- a/git-import-orig
+++ b/git-import-orig
@@ -140,8 +140,8 @@ create it otherwise use --upstream-branch to specify it.
parser.print_help()
raise GbpError
- (ret, out) = repo.is_clean()
- if not ret:
+ (clean, out) = repo.is_clean()
+ if not clean:
print >>sys.stderr, "Repository has uncommitted changes, commit these first: "
raise GbpError, out