mirror of
https://github.com/romanz/amodem.git
synced 2026-04-19 04:36:02 +08:00
Replace GPG version assertion by an error log
since NeoPG uses different versioning
This commit is contained in:
@@ -86,7 +86,8 @@ def verify_gpg_version():
|
|||||||
required_gpg = '>=2.1.11'
|
required_gpg = '>=2.1.11'
|
||||||
msg = 'Existing GnuPG has version "{}" ({} required)'.format(existing_gpg,
|
msg = 'Existing GnuPG has version "{}" ({} required)'.format(existing_gpg,
|
||||||
required_gpg)
|
required_gpg)
|
||||||
assert semver.match(existing_gpg, required_gpg), msg
|
if not semver.match(existing_gpg, required_gpg):
|
||||||
|
log.error('Your GnuPG version may be incompatible: %s', existing_gpg)
|
||||||
|
|
||||||
|
|
||||||
def check_output(args):
|
def check_output(args):
|
||||||
|
|||||||
Reference in New Issue
Block a user