changeset 96d895501b0b in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=96d895501b0b description: clean gpg call when we list keys. Fixes #5043 diffstat:
src/common/GnuPG.py | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r b658b62c74e2 -r 96d895501b0b src/common/GnuPG.py --- a/src/common/GnuPG.py Fri May 22 19:19:23 2009 +0200 +++ b/src/common/GnuPG.py Fri May 22 19:44:43 2009 +0200 @@ -194,6 +194,9 @@ 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 @@ out = out + "-----END PGP %s-----\n" % type_ return out
-# vim: se ts=3: +# vim: set ts=3: