Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/GnuPG.py')
-rw-r--r--src/common/GnuPG.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/common/GnuPG.py b/src/common/GnuPG.py
index 089a8b4d3..ab88c200a 100644
--- a/src/common/GnuPG.py
+++ b/src/common/GnuPG.py
@@ -182,9 +182,6 @@ 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:
@@ -196,6 +193,8 @@ if gajim.HAVE_GPG:
# make it unicode instance
keys[sline[4][8:]] = helpers.decode_string(name)
return keys
+ try: proc.wait()
+ except IOError: pass
def get_secret_keys(self):
return self.get_keys(True)