URI: 
       trequest_queue.put should never block, because maxsize is not set - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 380bccacf0f2e74e8449751241cd2d0821e71271
   DIR parent 963ec4ca3e511902f7b358ee001c281931b42306
  HTML Author: ThomasV <thomasv@gitorious>
       Date:   Fri, 31 Jul 2015 20:11:12 +0200
       
       request_queue.put should never block, because maxsize is not set
       
       Diffstat:
         M lib/interface.py                    |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
   DIR diff --git a/lib/interface.py b/lib/interface.py
       t@@ -229,9 +229,9 @@ class TcpInterface(threading.Thread):
                return s
        
            def send_request(self, request, response_queue = None):
       -        '''Queue a request.  Blocking only if called from other threads.'''
       +        '''Queue a request.'''
                self.request_time = time.time()
       -        self.request_queue.put((copy.deepcopy(request), response_queue), threading.current_thread() != self)
       +        self.request_queue.put((copy.deepcopy(request), response_queue))
        
            def send_requests(self):
                '''Sends all queued requests'''