summaryrefslogtreecommitdiff
path: root/scripts/maint
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2018-12-07 09:21:17 +1000
committerteor <teor@torproject.org>2018-12-07 15:45:48 +1000
commitd9f36d3e929e5acebbf483e908d0c90aeabf6558 (patch)
tree8b3095a0cc4c6cad0a10713b3ba75cb043bc5abd /scripts/maint
parent2ccb9e9444be568cbd1552a0ea86ec58bc4a92e1 (diff)
downloadtor-d9f36d3e929e5acebbf483e908d0c90aeabf6558.tar.gz
tor-d9f36d3e929e5acebbf483e908d0c90aeabf6558.zip
Fallbacks: minor script comment changes
Diffstat (limited to 'scripts/maint')
-rwxr-xr-xscripts/maint/updateFallbackDirs.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/scripts/maint/updateFallbackDirs.py b/scripts/maint/updateFallbackDirs.py
index 0ea3992d8f..cf923bfa32 100755
--- a/scripts/maint/updateFallbackDirs.py
+++ b/scripts/maint/updateFallbackDirs.py
@@ -18,8 +18,8 @@
# Optionally uses ipaddress (python 3 builtin) or py2-ipaddress (package)
# for netblock analysis.
#
-# Then read the logs to make sure the fallbacks aren't dominated by a single
-# netblock or port.
+# After running this script, read the logs to make sure the fallbacks aren't
+# dominated by a single netblock or port.
# Script by weasel, April 2015
# Portions by gsathya & karsten, 2013
@@ -39,8 +39,6 @@ import urllib
import urllib2
import hashlib
import dateutil.parser
-# bson_lazy provides bson
-#from bson import json_util
import copy
import re
@@ -1400,7 +1398,7 @@ class CandidateList(dict):
each line's key/value pairs are placed in a dictonary,
(of string -> string key/value pairs),
and these dictionaries are placed in an array.
- comments start with # and are ignored """
+ comments start with # and are ignored. """
file_data = file_obj['data']
file_name = file_obj['name']
relaylist = []