clean gpg call when we list keys. Fixes #5043

This commit is contained in:
Yann Leboulanger 2009-05-22 19:44:43 +02:00
parent 798bed6838
commit 05e63acc22
1 changed files with 4 additions and 1 deletions

View File

@ -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: