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/controller.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/controller.py')
-rw-r--r-- | libmproxy/controller.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libmproxy/controller.py b/libmproxy/controller.py index 24b229c5..712ab1d2 100644 --- a/libmproxy/controller.py +++ b/libmproxy/controller.py @@ -4,6 +4,7 @@ import threading class DummyReply: + """ A reply object that does nothing. Useful when we need an object to seem like it has a channel, and during testing. @@ -17,6 +18,7 @@ class DummyReply: class Reply: + """ Messages sent through a channel are decorated with a "reply" attribute. This object is used to respond to the message through the return @@ -38,6 +40,7 @@ class Reply: class Channel: + def __init__(self, q, should_exit): self.q = q self.should_exit = should_exit @@ -67,6 +70,7 @@ class Channel: class Slave(threading.Thread): + """ Slaves get a channel end-point through which they can send messages to the master. @@ -84,6 +88,7 @@ class Slave(threading.Thread): class Master(object): + """ Masters get and respond to messages from slaves. """ |