diff options
author | Matthew Shao <me@matshao.com> | 2015-11-11 20:59:12 +0800 |
---|---|---|
committer | Matthew Shao <me@matshao.com> | 2015-11-11 20:59:12 +0800 |
commit | 2522ba69fa5a8acb394c48cba05afdb5e01b4e4a (patch) | |
tree | dbd013086de6ac9d31a01d02dc474d201868ba87 /libmproxy/console | |
parent | 3f6521f9125b13f61192fefde94d9b6d0fc6e489 (diff) | |
download | mitmproxy-2522ba69fa5a8acb394c48cba05afdb5e01b4e4a.tar.gz mitmproxy-2522ba69fa5a8acb394c48cba05afdb5e01b4e4a.tar.bz2 mitmproxy-2522ba69fa5a8acb394c48cba05afdb5e01b4e4a.zip |
Move the observer initalization to the constructor of Script
class.Should work with both mitmproxy and mitmdump now.
Change the names in PEP8 style.
Diffstat (limited to 'libmproxy/console')
-rw-r--r-- | libmproxy/console/__init__.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libmproxy/console/__init__.py b/libmproxy/console/__init__.py index 7ef1185c..3bc0c091 100644 --- a/libmproxy/console/__init__.py +++ b/libmproxy/console/__init__.py @@ -225,7 +225,6 @@ class ConsoleMaster(flow.FlowMaster): if err: print >> sys.stderr, "Script load error:", err sys.exit(1) - script.ObserveScripts(self, i) if options.outfile: err = self.start_stream_to_path( |