From 689f5f0d1f5cc8125df4672ed27fc64c06b2ecde Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sat, 23 Jul 2011 11:50:30 +1200 Subject: Don't turn off output if -v flag is passed more than twice. --- libmproxy/dump.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libmproxy/dump.py b/libmproxy/dump.py index 972b9f2f..e547d78d 100644 --- a/libmproxy/dump.py +++ b/libmproxy/dump.py @@ -172,7 +172,7 @@ class DumpMaster(flow.FlowMaster): print >> self.outfile print >> self.outfile, result print >> self.outfile, "\n" - elif self.o.verbosity == 3: + elif self.o.verbosity >= 3: print >> self.outfile, str_request(f.request) print >> self.outfile, self.indent(4, f.request.headers) if utils.isBin(f.request.content): @@ -182,6 +182,7 @@ class DumpMaster(flow.FlowMaster): print >> self.outfile print >> self.outfile, result print >> self.outfile, "\n" + self.state.delete_flow(f) if self.o.wfile: self.fwriter.add(f) -- cgit v1.2.3