add timeout in order to allow KeyboardInterrupt
authorThomasV <thomasv@gitorious>
Sat, 19 May 2012 13:52:06 +0000 (15:52 +0200)
committerThomasV <thomasv@gitorious>
Sat, 19 May 2012 13:52:06 +0000 (15:52 +0200)
lib/wallet.py

index 6c0eb8d..0bca8f6 100644 (file)
@@ -956,7 +956,7 @@ class Wallet:
 
     def update(self):
         self.interface.poke()
-        self.up_to_date_event.wait()
+        self.up_to_date_event.wait(10000000000)
 
 
     def start_session(self, interface):