GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

Commit a466221c authored by Ana Custura's avatar Ana Custura

Clarify filter terminology

parent 7b0c91f1
......@@ -64,7 +64,7 @@ class Filtering(object):
keep = False
break
if not keep:
tor_circuits[circuit_id]["filtered"] = True
tor_circuits[circuit_id]["filtered_out"] = True
tor_circuits[circuit_id] = dict(sorted(tor_circuit.items()))
def apply_filters(self, input_path, output_dir, output_file):
......
......@@ -147,7 +147,7 @@ class TGenVisualization(Visualization):
stream["error_code"] = "/".join(error_code_parts)
if "filters" in analysis.json_db.keys() and analysis.json_db["filters"]["tor/circuits"]:
if tor_circuit and "filtered" not in tor_circuit.keys():
if tor_circuit and "filtered_out" not in tor_circuit.keys():
streams.append(stream)
else:
streams.append(stream)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment