From 58e1b3a47f392a5f4f16e30318820f163568f54e Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sun, 12 Jan 2014 12:49:19 +1300 Subject: Start refactoring scripts - Move ScriptContext into script module - Use mock module instead of hand-rolled mock objects in tests --- examples/nonblocking.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/nonblocking.py') diff --git a/examples/nonblocking.py b/examples/nonblocking.py index ed8cc7c9..9a131b32 100644 --- a/examples/nonblocking.py +++ b/examples/nonblocking.py @@ -5,4 +5,4 @@ from libmproxy.script import concurrent def request(context, flow): print "handle request: %s%s" % (flow.request.host, flow.request.path) time.sleep(5) - print "start request: %s%s" % (flow.request.host, flow.request.path) \ No newline at end of file + print "start request: %s%s" % (flow.request.host, flow.request.path) -- cgit v1.2.3