v2.4 will require protocol v0.10
This commit is contained in:
@@ -59,7 +59,7 @@ def parse_servers(result):
|
||||
pruning_level = v[1:]
|
||||
if pruning_level == '': pruning_level = '0'
|
||||
try:
|
||||
is_recent = float(version)>=float(PROTOCOL_VERSION)
|
||||
is_recent = cmp(util.normalize_version(version), util.normalize_version(PROTOCOL_VERSION)) >= 0
|
||||
except Exception:
|
||||
is_recent = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user