diff options
-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 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 |