mirror of
https://github.com/romanz/amodem.git
synced 2026-03-17 23:26:01 +08:00
gpg: use subprocess.call()
This commit is contained in:
@@ -17,7 +17,7 @@ def main():
|
||||
log.debug('sys.argv: %s', sys.argv)
|
||||
args = sys.argv[1:]
|
||||
if '--verify' in args:
|
||||
sp.check_call(['gpg2'] + args)
|
||||
return sp.call(['gpg2'] + args)
|
||||
else:
|
||||
command, user_id = args
|
||||
assert command == '-bsau' # --detach-sign --sign --armor --local-user
|
||||
|
||||
Reference in New Issue
Block a user