re-add pick_random_server
authorthomasv <thomasv@gitorious>
Mon, 7 Oct 2013 14:07:44 +0000 (16:07 +0200)
committerthomasv <thomasv@gitorious>
Mon, 7 Oct 2013 14:07:44 +0000 (16:07 +0200)
lib/network.py

index 003a657..13ab30a 100644 (file)
@@ -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