mitmproxy/test/scripts/a.py

19 lines
204 B
Python
Raw Normal View History

from a_helper import parser
var = 0
2015-05-30 00:03:28 +00:00
2013-06-15 22:10:53 +00:00
def start(ctx, argv):
global var
2013-06-15 22:10:53 +00:00
var = parser.parse_args(argv[1:]).var
2015-05-30 00:03:28 +00:00
def here(ctx):
global var
var += 1
return var
2015-05-30 00:03:28 +00:00
def errargs():
pass