Skip to content
Permalink
Browse files
smarter Tor version number check
  • Loading branch information
robgjansen committed Sep 20, 2012
1 parent b7037df commit 1719e7e287743767f7d10895f15683a8f90bb865
Showing with 1 addition and 1 deletion.
  1. +1 −1 setup.py
@@ -216,7 +216,7 @@ def build(args):
log("detected tor version {0}".format(torversion))
vparts = torversion.split(".")
a, b, c, d = int(vparts[0]), int(vparts[1]), int(vparts[2]), int(vparts[3].split("-")[0])
if c >= 3 and d >= 5:
if c > 3 or (c == 3 and d >= 5):
cmake_cmd += " -DSCALLION_DOREFILL=1"
log("Tor configured to use refill callbacks")

0 comments on commit 1719e7e

Please sign in to comment.