aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tcp_message.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2016-06-14 15:25:01 +1200
committerGitHub <noreply@github.com>2016-06-14 15:25:01 +1200
commitd8ae2f156203a81a8e6d325f5c460c351cfbfc5c (patch)
tree8b5e8ef981b6f691dcbbd504883714cb2f6fc182 /examples/tcp_message.py
parentccf4723505935f759c1bff5c5cc7d6d986726422 (diff)
parentc2b5a13e3f1cfd193184c2fca9df0d531501a8ab (diff)
downloadmitmproxy-d8ae2f156203a81a8e6d325f5c460c351cfbfc5c.tar.gz
mitmproxy-d8ae2f156203a81a8e6d325f5c460c351cfbfc5c.tar.bz2
mitmproxy-d8ae2f156203a81a8e6d325f5c460c351cfbfc5c.zip
Merge pull request #1254 from mitmproxy/scriptargs
Inline Scripts: use sys.argv instead of args argument.
Diffstat (limited to 'examples/tcp_message.py')
-rw-r--r--examples/tcp_message.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/tcp_message.py b/examples/tcp_message.py
index 2c210618..78500c19 100644
--- a/examples/tcp_message.py
+++ b/examples/tcp_message.py
@@ -1,4 +1,4 @@
-'''
+"""
tcp_message Inline Script Hook API Demonstration
------------------------------------------------
@@ -7,7 +7,7 @@ tcp_message Inline Script Hook API Demonstration
example cmdline invocation:
mitmdump -T --host --tcp ".*" -q -s examples/tcp_message.py
-'''
+"""
from netlib import strutils