diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2016-01-27 10:12:18 +0100 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2016-01-27 10:36:28 +0100 |
commit | 8c375383148f100f03aed52827ac513f145078c2 (patch) | |
tree | dbae3b5d4d603e5e226477f1938119e2acfcfc1f /libmproxy/contentviews.py | |
parent | c2bb29f669cd80509f4efe205551a9cf5fc29770 (diff) | |
download | mitmproxy-8c375383148f100f03aed52827ac513f145078c2.tar.gz mitmproxy-8c375383148f100f03aed52827ac513f145078c2.tar.bz2 mitmproxy-8c375383148f100f03aed52827ac513f145078c2.zip |
code formatting: fix whitespace issues
Diffstat (limited to 'libmproxy/contentviews.py')
-rw-r--r-- | libmproxy/contentviews.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libmproxy/contentviews.py b/libmproxy/contentviews.py index eaab8169..526f5ff4 100644 --- a/libmproxy/contentviews.py +++ b/libmproxy/contentviews.py @@ -275,6 +275,7 @@ class ViewMultipart(View): if pyamf: class DummyObject(dict): + def __init__(self, alias): dict.__init__(self) @@ -282,7 +283,6 @@ if pyamf: data = input.readObject() self["data"] = data - def pyamf_class_loader(s): for i in pyamf.CLASS_LOADERS: if i != pyamf_class_loader: @@ -291,10 +291,8 @@ if pyamf: return v return DummyObject - pyamf.register_class_loader(pyamf_class_loader) - class ViewAMF(View): name = "AMF" prompt = ("amf", "f") @@ -417,6 +415,7 @@ class ViewImage(View): class ViewProtobuf(View): + """Human friendly view of protocol buffers The view uses the protoc compiler to decode the binary """ |