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 d9f8b8fe authored by Ana Custura's avatar Ana Custura Committed by Karsten Loesing

Fix naming of exclusion list

parent 26ff79a3
......@@ -28,13 +28,13 @@ class Filtering(object):
self.fingerprints_to_include.append(fingerprint)
def exclude_fingerprints(self, path):
self.exclude_fingerprints = []
self.fingerprints_to_exclude = []
with open(path, 'rt') as f:
for line in f:
fingerprint_match = self.fingerprint_pattern.match(line)
if fingerprint_match:
fingerprint = fingerprint_match.group(1).upper()
self.exclude_fingerprints.append(fingerprint)
self.fingerprints_to_exclude.append(fingerprint)
def apply_filters(self):
if self.fingerprints_to_include is None and self.fingerprints_to_exclude is None:
......
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