diff options
| author | Maximilian Hils <git@maximilianhils.com> | 2016-10-25 17:34:30 -0700 | 
|---|---|---|
| committer | Maximilian Hils <git@maximilianhils.com> | 2016-10-25 17:34:30 -0700 | 
| commit | 917c701562794b59b7f4015e9165a7ef7ed50f79 (patch) | |
| tree | 827ad36b0575b2b9b3127aebaa09d58ade133f5f | |
| parent | 145c2892f720300020fdeec8a257c3247c8dff5b (diff) | |
| download | mitmproxy-917c701562794b59b7f4015e9165a7ef7ed50f79.tar.gz mitmproxy-917c701562794b59b7f4015e9165a7ef7ed50f79.tar.bz2 mitmproxy-917c701562794b59b7f4015e9165a7ef7ed50f79.zip | |
make options keyword-only
| -rw-r--r-- | mitmproxy/options.py | 1 | ||||
| -rw-r--r-- | mitmproxy/tools/console/master.py | 1 | ||||
| -rw-r--r-- | mitmproxy/tools/dump.py | 1 | ||||
| -rw-r--r-- | mitmproxy/tools/web/master.py | 1 | 
4 files changed, 4 insertions, 0 deletions
| diff --git a/mitmproxy/options.py b/mitmproxy/options.py index 26b7030e..8e885735 100644 --- a/mitmproxy/options.py +++ b/mitmproxy/options.py @@ -23,6 +23,7 @@ DEFAULT_CLIENT_CIPHERS = "ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA  class Options(optmanager.OptManager):      def __init__(              self, +            *,  # all args are keyword-only.              # TODO: rename to onboarding_app_*              app: bool = True,              app_host: str = APP_HOST, diff --git a/mitmproxy/tools/console/master.py b/mitmproxy/tools/console/master.py index 909c83da..92959256 100644 --- a/mitmproxy/tools/console/master.py +++ b/mitmproxy/tools/console/master.py @@ -203,6 +203,7 @@ class ConsoleState(state.State):  class Options(mitmproxy.options.Options):      def __init__(              self, +            *,  # all args are keyword-only.              eventlog: bool = False,              follow: bool = False,              intercept: bool = False, diff --git a/mitmproxy/tools/dump.py b/mitmproxy/tools/dump.py index e92482f3..72895102 100644 --- a/mitmproxy/tools/dump.py +++ b/mitmproxy/tools/dump.py @@ -18,6 +18,7 @@ class DumpError(Exception):  class Options(options.Options):      def __init__(              self, +            *, # all args are keyword-only.              keepserving: bool = False,              filtstr: Optional[str] = None,              flow_detail: int = 1, diff --git a/mitmproxy/tools/web/master.py b/mitmproxy/tools/web/master.py index 619582f3..9cf17faf 100644 --- a/mitmproxy/tools/web/master.py +++ b/mitmproxy/tools/web/master.py @@ -94,6 +94,7 @@ class WebState(state.State):  class Options(options.Options):      def __init__(              self, +            *,  # all args are keyword-only.              intercept: Optional[str] = None,              wdebug: bool = bool,              wport: int = 8081, | 
