|
@@ -68,6 +68,15 @@ except ImportError:
|
|
|
|
|
|
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+FALLBACK_FORMAT_VERSION = '2.0.0'
|
|
|
+
|
|
|
|
|
|
OUTPUT_CANDIDATES = False
|
|
|
|
|
@@ -2124,6 +2133,9 @@ def list_fallbacks(whitelist, blacklist):
|
|
|
""" Fetches required onionoo documents and evaluates the
|
|
|
fallback directory criteria for each of the relays """
|
|
|
|
|
|
+ print "/* type=fallback */"
|
|
|
+ print ("/* version={} */"
|
|
|
+ .format(cleanse_c_multiline_comment(FALLBACK_FORMAT_VERSION)))
|
|
|
logging.warning('Downloading and parsing Onionoo data. ' +
|
|
|
'This may take some time.')
|
|
|
|