clean gpg call when we list keys. Fixes #5043
This commit is contained in:
parent
798bed6838
commit
05e63acc22
|
@ -194,6 +194,9 @@ if gajim.HAVE_GPG:
|
||||||
output = proc.handles['stdout'].read()
|
output = proc.handles['stdout'].read()
|
||||||
proc.handles['stdout'].close()
|
proc.handles['stdout'].close()
|
||||||
|
|
||||||
|
try: proc.wait()
|
||||||
|
except IOError: pass
|
||||||
|
|
||||||
keys = {}
|
keys = {}
|
||||||
lines = output.split('\n')
|
lines = output.split('\n')
|
||||||
for line in lines:
|
for line in lines:
|
||||||
|
@ -234,4 +237,4 @@ if gajim.HAVE_GPG:
|
||||||
out = out + "-----END PGP %s-----\n" % type_
|
out = out + "-----END PGP %s-----\n" % type_
|
||||||
return out
|
return out
|
||||||
|
|
||||||
# vim: se ts=3:
|
# vim: set ts=3:
|
||||||
|
|
Loading…
Reference in New Issue