Skip to content
Snippets Groups Projects
Commit 63e08f56 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Merge remote-tracking branch 'tor-github/pr/365'

parents b7bd162a 53d8aa13
No related branches found
No related tags found
No related merge requests found
o Minor bugfixes (testing):
- In test_rebind.py check if Python version is in supported
ranges. Fixes bug 27675; bugfix on 0.3.5.1-alpha.
#!/usr/bin/python3
from __future__ import print_function
import sys
......@@ -37,6 +35,12 @@ def pick_random_port():
return port
if sys.hexversion < 0x02070000:
sys.exit("ERROR: unsupported Python version (should be >= 2.7)")
if sys.hexversion > 0x03000000 and sys.hexversion < 0x03010000:
sys.exit("ERROR: unsupported Python3 version (should be >= 3.1)")
control_port = pick_random_port()
socks_port = pick_random_port()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment