summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2015-06-02 08:34:01 -0300
committerdrebs <drebs@leap.se>2015-06-03 16:07:50 -0300
commit544b0ff28c654a7c21832d47f34861c3cfbfc26d (patch)
tree8862fe61c90fba01542952ae14405f9bfd9bff8b /client
parent23536ee6f80c7b531ac2a2de9bd404d9a5f21df4 (diff)
[bug] use exception from correct module
Queue exceptions are not in multiprocessing.Queue module, but in plain Queue instead.
Diffstat (limited to 'client')
-rw-r--r--client/src/leap/soledad/client/encdecpool.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/leap/soledad/client/encdecpool.py b/client/src/leap/soledad/client/encdecpool.py
index 60b8d8ef..e73792ea 100644
--- a/client/src/leap/soledad/client/encdecpool.py
+++ b/client/src/leap/soledad/client/encdecpool.py
@@ -172,7 +172,7 @@ class SyncEncrypterPool(SyncEncryptDecryptPool):
"""
try:
self._sync_queue.put_nowait(doc)
- except multiprocessing.Queue.Full:
+ except Queue.Full:
# do not asynchronously encrypt this file if the queue is full
pass