commit d9f8b8fe36fabb30bf96802130a68b9020f6a875 Author: Ana Custura <a...@netstat.org.uk> Date: Fri Aug 21 03:07:30 2020 +0100
Fix naming of exclusion list --- onionperf/filtering.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/onionperf/filtering.py b/onionperf/filtering.py index 204b161..ab96f1e 100644 --- a/onionperf/filtering.py +++ b/onionperf/filtering.py @@ -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: _______________________________________________ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits