aboutsummaryrefslogtreecommitdiffstats
path: root/test/scripts/a.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2011-08-03 13:20:36 +1200
committerAldo Cortesi <aldo@nullcube.com>2011-08-03 13:20:36 +1200
commit12d2b1f926bedfb334ce625aad2e85c53e65f481 (patch)
treedfa4783dd0ee8b85dd4003eab4a8b5b453333138 /test/scripts/a.py
parent62088a666156f70b65d331bc002a946e58c76013 (diff)
downloadmitmproxy-12d2b1f926bedfb334ce625aad2e85c53e65f481.tar.gz
mitmproxy-12d2b1f926bedfb334ce625aad2e85c53e65f481.tar.bz2
mitmproxy-12d2b1f926bedfb334ce625aad2e85c53e65f481.zip
Rip out old script interface, start replacing with new stubs.
Scripts are broken for now.
Diffstat (limited to 'test/scripts/a.py')
-rw-r--r--test/scripts/a.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/scripts/a.py b/test/scripts/a.py
new file mode 100644
index 00000000..0a21b619
--- /dev/null
+++ b/test/scripts/a.py
@@ -0,0 +1,9 @@
+
+var = 0
+def here(ctx):
+ global var
+ var += 1
+ return var
+
+def errargs():
+ pass