diff options
author | Guido Guenther <agx@sigxcpu.org> | 2007-05-29 07:54:31 +0200 |
---|---|---|
committer | Guido Guenther <agx@bogon.sigxcpu.org> | 2007-05-29 07:54:31 +0200 |
commit | 846d4d136db2136c4b2379e1eedcfbb18ce070a8 (patch) | |
tree | 6d881d70313758215e59ae9aace2fcfbf912d1ec | |
parent | 9cddf82d5dcbfb4860b5612bc7800c3f63a01ffd (diff) |
don't use ret to check repository cleaness
-rwxr-xr-x | git-import-orig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git-import-orig b/git-import-orig index 521446d..cff1fc6 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 |