From 4ba7ce50c6aa7b96325e201f65747a3a6ace1a7a Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Fri, 15 Jul 2016 13:22:20 +1200 Subject: Add .start for addons and scripts Also improve error messages, fix various unit tests --- examples/tls_passthrough.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/tls_passthrough.py') diff --git a/examples/tls_passthrough.py b/examples/tls_passthrough.py index 306f55f6..20e8f9be 100644 --- a/examples/tls_passthrough.py +++ b/examples/tls_passthrough.py @@ -113,7 +113,7 @@ class TlsFeedback(TlsLayer): tls_strategy = None -def configure(options): +def start(): global tls_strategy if len(sys.argv) == 2: tls_strategy = ProbabilisticStrategy(float(sys.argv[1])) -- cgit v1.2.3