aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/controller.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2018-05-12 13:52:15 +1200
committerAldo Cortesi <aldo@nullcube.com>2018-05-12 13:52:15 +1200
commit449b8b383deb8ba631bd708333c93638931d77db (patch)
tree79eced34c086710e2594384b3b54922d5014bea1 /mitmproxy/controller.py
parent4b4d97412ba2b58ee9a5f61751c14ceccacf608d (diff)
downloadmitmproxy-449b8b383deb8ba631bd708333c93638931d77db.tar.gz
mitmproxy-449b8b383deb8ba631bd708333c93638931d77db.tar.bz2
mitmproxy-449b8b383deb8ba631bd708333c93638931d77db.zip
controller: add mysteriously missing comment portion
Thanks to @tran-tien-dat
Diffstat (limited to 'mitmproxy/controller.py')
-rw-r--r--mitmproxy/controller.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mitmproxy/controller.py b/mitmproxy/controller.py
index 6e219066..39d3b74a 100644
--- a/mitmproxy/controller.py
+++ b/mitmproxy/controller.py
@@ -96,8 +96,8 @@ class Reply:
def commit(self):
"""
Ultimately, messages are committed. This is done either automatically by
- if the message is not taken or manually by the entity which called
- .take().
+ the handler if the message is not taken or manually by the entity which
+ called .take().
"""
if self.state != "taken":
raise exceptions.ControlException(