commit 8336de82bc451dcbb169c06e95dfa3795f81e744 Author: Edmund Wong ewongbb@pw-wspx.org Date: Mon Oct 30 12:27:46 2017 +0800
Removed unneeded imports from BwAuthority --- NetworkScanners/BwAuthority/aggregate.py | 1 - NetworkScanners/BwAuthority/bwauthority_child.py | 2 -- NetworkScanners/BwAuthority/extras/parsedireq.py | 1 - NetworkScanners/BwAuthority/extras/parseplatform.py | 2 -- 4 files changed, 6 deletions(-)
diff --git a/NetworkScanners/BwAuthority/aggregate.py b/NetworkScanners/BwAuthority/aggregate.py index 5e91bcf..c4326fd 100755 --- a/NetworkScanners/BwAuthority/aggregate.py +++ b/NetworkScanners/BwAuthority/aggregate.py @@ -10,7 +10,6 @@ import traceback sys.path.append("../../") from TorCtl.TorUtil import plog from TorCtl import TorCtl,TorUtil -from TorCtl.PathSupport import VersionRangeRestriction, NodeRestrictionList, NotNodeRestriction
bw_files = [] nodes = {} diff --git a/NetworkScanners/BwAuthority/bwauthority_child.py b/NetworkScanners/BwAuthority/bwauthority_child.py index 3ae484d..6db2726 100755 --- a/NetworkScanners/BwAuthority/bwauthority_child.py +++ b/NetworkScanners/BwAuthority/bwauthority_child.py @@ -16,8 +16,6 @@ import sys import urllib2 import os import traceback -import copy -import shutil import threading import ConfigParser import sqlalchemy diff --git a/NetworkScanners/BwAuthority/extras/parsedireq.py b/NetworkScanners/BwAuthority/extras/parsedireq.py index 1920da7..1cb5774 100755 --- a/NetworkScanners/BwAuthority/extras/parsedireq.py +++ b/NetworkScanners/BwAuthority/extras/parsedireq.py @@ -14,7 +14,6 @@ # n-v2-ip
import time -import math import sys
def total_countries(l): diff --git a/NetworkScanners/BwAuthority/extras/parseplatform.py b/NetworkScanners/BwAuthority/extras/parseplatform.py index 17f9cf0..dbdff7f 100755 --- a/NetworkScanners/BwAuthority/extras/parseplatform.py +++ b/NetworkScanners/BwAuthority/extras/parseplatform.py @@ -4,8 +4,6 @@ # distribution parameters based on this data.
import time -import math - import logistic
f = open("platforms.csv", "r")