Skip to content
Snippets Groups Projects
Commit 05e63acc authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

clean gpg call when we list keys. Fixes #5043

parent 798bed68
No related branches found
No related tags found
No related merge requests found
......@@ -194,6 +194,9 @@ if gajim.HAVE_GPG:
output = proc.handles['stdout'].read()
proc.handles['stdout'].close()
try: proc.wait()
except IOError: pass
keys = {}
lines = output.split('\n')
for line in lines:
......@@ -234,4 +237,4 @@ if gajim.HAVE_GPG:
out = out + "-----END PGP %s-----\n" % type_
return out
# vim: se ts=3:
# vim: set ts=3:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment