aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/options.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2018-02-26 09:43:15 +1300
committerAldo Cortesi <aldo@corte.si>2018-02-26 09:43:15 +1300
commite5cdc20eb8cd8ebf5ab0ab8bd5ae9889054821df (patch)
tree39adf4bc6f7ecd191c74d994f47f3f2053359ac2 /mitmproxy/options.py
parent2fb85553cc57e9559ed6ea747b3043b6f87bf36e (diff)
downloadmitmproxy-e5cdc20eb8cd8ebf5ab0ab8bd5ae9889054821df.tar.gz
mitmproxy-e5cdc20eb8cd8ebf5ab0ab8bd5ae9889054821df.tar.bz2
mitmproxy-e5cdc20eb8cd8ebf5ab0ab8bd5ae9889054821df.zip
Split dumper_filter off from view_filter
These don't even do the same thing.
Diffstat (limited to 'mitmproxy/options.py')
-rw-r--r--mitmproxy/options.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/mitmproxy/options.py b/mitmproxy/options.py
index 0ada5306..b6f3398b 100644
--- a/mitmproxy/options.py
+++ b/mitmproxy/options.py
@@ -41,11 +41,6 @@ class Options(optmanager.OptManager):
upstream_cert = None # type: bool
websocket = None # type: bool
- # FIXME: Options that must be migrated to addons, but are complicated
- # because they're used by more than one addon, or because they're
- # embedded in the core code somehow.
- view_filter = None # type: Optional[str]
-
def __init__(self, **kwargs) -> None:
super().__init__()
self.add_option(
@@ -212,9 +207,4 @@ class Options(optmanager.OptManager):
"""
)
- self.add_option(
- "view_filter", Optional[str], None,
- "Limit which flows are displayed."
- )
-
self.update(**kwargs)