From 8c375383148f100f03aed52827ac513f145078c2 Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Wed, 27 Jan 2016 10:12:18 +0100 Subject: code formatting: fix whitespace issues --- libmproxy/contentviews.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libmproxy/contentviews.py') 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 """ -- cgit v1.2.3