diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2016-07-20 11:10:15 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2016-07-20 11:28:53 +1200 |
commit | 8317772377baa5eaa9c4d05014f952337f4d03cd (patch) | |
tree | a2aa4f84facb7af17a91a948b7f30074fb64c655 /mitmproxy/dump.py | |
parent | aa3b866e1d82b7a08d497695eb0fa2c1ddd2c2cf (diff) | |
download | mitmproxy-8317772377baa5eaa9c4d05014f952337f4d03cd.tar.gz mitmproxy-8317772377baa5eaa9c4d05014f952337f4d03cd.tar.bz2 mitmproxy-8317772377baa5eaa9c4d05014f952337f4d03cd.zip |
mitproxy.options -> mitmproxy.optmanager, mitmproxy.flow.options -> mitmproxy.options
It might be slightly more felicitous to move optmanager into netlib at some
point, especially if we can also use it in pathod.
This also consolidates our constants in mitmproxy.options, removing some duplicates.
Diffstat (limited to 'mitmproxy/dump.py')
-rw-r--r-- | mitmproxy/dump.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mitmproxy/dump.py b/mitmproxy/dump.py index 78dd2578..4f34ab95 100644 --- a/mitmproxy/dump.py +++ b/mitmproxy/dump.py @@ -12,6 +12,7 @@ from mitmproxy import exceptions from mitmproxy import flow from mitmproxy import builtins from mitmproxy import utils +from mitmproxy import options from mitmproxy.builtins import dumper from netlib import tcp @@ -20,7 +21,7 @@ class DumpError(Exception): pass -class Options(flow.options.Options): +class Options(options.Options): def __init__( self, keepserving=False, # type: bool |