Skip to content

SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.

Function can be replaced with set literal

Gormogonbb1efd6b96b1
diff --git a/ext/adblockparser/parser.py b/ext/adblockparser/parser.py
index 5c9e1eeb..a796341e 100644
--- a/ext/adblockparser/parser.py
+++ b/ext/adblockparser/parser.py
@@ -98,7 +98,7 @@ class AdblockRule(object):
else:
self.raw_options = []
self.options = {}
- self._options_keys = frozenset(self.options.keys()) - set(['match-case'])
+ self._options_keys = frozenset(self.options.keys()) - {'match-case'}
self.rule_text = rule_text