Merge branch 'master' of https://github.com/spesmilo/electrum into uncopyable-seed

This commit is contained in:
Fredrick Brennan 2015-10-18 15:46:15 +08:00
commit 63a53c5aad
1 changed files with 3 additions and 3 deletions

View File

@ -415,9 +415,9 @@ class SocketPipe:
if err.errno == 60:
raise timeout
elif err.errno in [11, 35, 10035]:
print_error("socket errno", err.errno)
time.sleep(0.1)
continue
print_error("socket errno %d (resource temporarily unavailable)"% err.errno)
time.sleep(0.2)
raise timeout
else:
print_error("pipe: socket error", err)
data = ''