diff --git a/gitrevise/odb.py b/gitrevise/odb.py index 15d0c80..a49ee28 100644 --- a/gitrevise/odb.py +++ b/gitrevise/odb.py @@ -316,6 +316,8 @@ def new_commit( for line in gpg.stdout.splitlines(): body += b" " + line + b"\n" + if not b"\n[GNUPG:] SIG_CREATED " in gpg.stdout: + raise CalledProcessError() except CalledProcessError as gpg: print(gpg.stderr.decode(), file=sys.stderr, end="")