Commit b481b2d3 authored by Yann Leboulanger's avatar Yann Leboulanger

clean gpg call when we list keys. Fixes #5043

parent 48e1a899
......@@ -194,6 +194,9 @@ def get_keys(self, secret = False):
output = proc.handles['stdout'].read()
proc.handles['stdout'].close()
try: proc.wait()
except IOError: pass
keys = {}
lines = output.split('\n')
for line in lines:
......@@ -236,4 +239,4 @@ def _addHeaderFooter(self, data, type_):
out = out + "-----END PGP %s-----\n" % type_
return out
# vim: se ts=3:
# vim: set ts=3:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment