From 80339aef934e6d187b3cfff2d2c38fb52fcae7c9 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Fri, 2 Jan 2015 15:29:51 +1300 Subject: Unit test framework for web client-side code - Also make formatSize nicer and test it. Now there's no excuse! ;) --- libmproxy/web/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmproxy/web/__init__.py') diff --git a/libmproxy/web/__init__.py b/libmproxy/web/__init__.py index 4d4d6c7c..173ddf9f 100644 --- a/libmproxy/web/__init__.py +++ b/libmproxy/web/__init__.py @@ -127,7 +127,7 @@ class WebMaster(flow.FlowMaster): self.app = app.Application(self, self.options.wdebug) if options.rfile: try: - print(self.load_flows_file(options.rfile)) + self.load_flows_file(options.rfile) except flow.FlowReadError, v: self.add_event( "Could not read flow file: %s"%v, -- cgit v1.2.3