Quiet GPG operation
stderr is shown and an exception is raised if GPG does not exit successfully.
This commit is contained in:
parent
dd60e65174
commit
bdb20189bd
1 changed files with 2 additions and 0 deletions
|
|
@ -115,8 +115,10 @@ class WeboobRepos(ReplApplication):
|
|||
os.remove(krname)
|
||||
# Add all valid keys
|
||||
for keyfile in os.listdir(os.path.join(source_path, r.KEYDIR)):
|
||||
print 'Adding key %s' % keyfile
|
||||
keypath = os.path.join(source_path, r.KEYDIR, keyfile)
|
||||
subprocess.check_call([gpg,
|
||||
'--quiet',
|
||||
'--no-default-keyring',
|
||||
'--keyring', krname,
|
||||
'--import', keypath])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue