diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2016-12-03 09:20:27 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2016-12-08 10:21:05 +1300 |
commit | b231836c70a68daa6016537e5ec18ed7a7cc3b1a (patch) | |
tree | 2b8096070c8d5dd17786281d6e6cfd87b707efa2 /mitmproxy/tools/web/master.py | |
parent | 297493801ded90ee5b9717115fb2fa25bac43d22 (diff) | |
download | mitmproxy-b231836c70a68daa6016537e5ec18ed7a7cc3b1a.tar.gz mitmproxy-b231836c70a68daa6016537e5ec18ed7a7cc3b1a.tar.bz2 mitmproxy-b231836c70a68daa6016537e5ec18ed7a7cc3b1a.zip |
Get rid of tfile testing option
It's weird, it's ugly, it's getting in the way of my options refactoring, and
it must therefore die.
Diffstat (limited to 'mitmproxy/tools/web/master.py')
-rw-r--r-- | mitmproxy/tools/web/master.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mitmproxy/tools/web/master.py b/mitmproxy/tools/web/master.py index 89ad698d..36bdcb07 100644 --- a/mitmproxy/tools/web/master.py +++ b/mitmproxy/tools/web/master.py @@ -1,5 +1,5 @@ import webbrowser -from typing import Optional, IO +from typing import Optional import tornado.httpserver import tornado.ioloop @@ -20,7 +20,6 @@ class Options(options.Options): self, *, # all args are keyword-only. intercept: Optional[str] = None, - tfile: Optional[IO[str]] = None, open_browser: bool = True, wdebug: bool = False, wport: int = 8081, @@ -28,7 +27,6 @@ class Options(options.Options): **kwargs ) -> None: self.intercept = intercept - self.tfile = tfile self.open_browser = open_browser self.wdebug = wdebug self.wport = wport |