aboutsummaryrefslogtreecommitdiffstats
path: root/test/scripts
diff options
context:
space:
mode:
authorThomas Kriechbaumer <thomas@kriechbaumer.name>2016-01-27 10:12:18 +0100
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2016-01-27 10:36:28 +0100
commit8c375383148f100f03aed52827ac513f145078c2 (patch)
treedbae3b5d4d603e5e226477f1938119e2acfcfc1f /test/scripts
parentc2bb29f669cd80509f4efe205551a9cf5fc29770 (diff)
downloadmitmproxy-8c375383148f100f03aed52827ac513f145078c2.tar.gz
mitmproxy-8c375383148f100f03aed52827ac513f145078c2.tar.bz2
mitmproxy-8c375383148f100f03aed52827ac513f145078c2.zip
code formatting: fix whitespace issues
Diffstat (limited to 'test/scripts')
-rw-r--r--test/scripts/a_helper.py2
-rw-r--r--test/scripts/tcp_stream_modify.py2
-rw-r--r--test/scripts/unloaderr.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/test/scripts/a_helper.py b/test/scripts/a_helper.py
index 2eeed0d4..e1f1c649 100644
--- a/test/scripts/a_helper.py
+++ b/test/scripts/a_helper.py
@@ -1,4 +1,4 @@
import argparse
parser = argparse.ArgumentParser()
-parser.add_argument('--var', type=int) \ No newline at end of file
+parser.add_argument('--var', type=int)
diff --git a/test/scripts/tcp_stream_modify.py b/test/scripts/tcp_stream_modify.py
index 9870dddf..93b0d5c8 100644
--- a/test/scripts/tcp_stream_modify.py
+++ b/test/scripts/tcp_stream_modify.py
@@ -1,3 +1,3 @@
-def tcp_message(ctx,tm):
+def tcp_message(ctx, tm):
if tm.sender == tm.server_conn:
tm.message = tm.message.replace("foo", "bar")
diff --git a/test/scripts/unloaderr.py b/test/scripts/unloaderr.py
index f3743107..fba02734 100644
--- a/test/scripts/unloaderr.py
+++ b/test/scripts/unloaderr.py
@@ -1,2 +1,2 @@
def done(ctx):
- raise RuntimeError() \ No newline at end of file
+ raise RuntimeError()