git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
1be23bd
)
re-add pick_random_server
author
thomasv
<thomasv@gitorious>
Mon, 7 Oct 2013 14:07:44 +0000 (16:07 +0200)
committer
thomasv
<thomasv@gitorious>
Mon, 7 Oct 2013 14:07:44 +0000 (16:07 +0200)
lib/network.py
patch
|
blob
|
history
diff --git
a/lib/network.py
b/lib/network.py
index
003a657
..
13ab30a
100644
(file)
--- a/
lib/network.py
+++ b/
lib/network.py
@@
-35,8
+35,8
@@
def filter_protocol(servers, p):
return l
-#def pick_random_server():
-# return random.choice( filter_protocol(DEFAULT_SERVERS,'s') )
+def pick_random_server():
+ return random.choice( filter_protocol(DEFAULT_SERVERS,'s') )
from simple_config import SimpleConfig