[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Fallbacks: minor script comment changes
commit d9f36d3e929e5acebbf483e908d0c90aeabf6558
Author: teor <teor@xxxxxxxxxxxxxx>
Date: Fri Dec 7 09:21:17 2018 +1000
Fallbacks: minor script comment changes
---
scripts/maint/updateFallbackDirs.py | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/scripts/maint/updateFallbackDirs.py b/scripts/maint/updateFallbackDirs.py
index 0ea3992d8..cf923bfa3 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 = []
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits