mirror of
https://github.com/mitmproxy/mitmproxy.git
synced 2025-02-13 18:00:14 +00:00
Whitepsace and extraneous code.
This commit is contained in:
parent
f028dc7e1b
commit
ca4df062bf
@ -78,11 +78,9 @@ class DumpMaster(flow.FlowMaster):
|
||||
if self.o.wfile:
|
||||
self.fwriter.add(f)
|
||||
|
||||
|
||||
# begin nocover
|
||||
def run(self):
|
||||
try:
|
||||
return flow.FlowMaster.run(self)
|
||||
except KeyboardInterrupt:
|
||||
self.shutdown()
|
||||
|
||||
|
@ -48,8 +48,7 @@ import filt
|
||||
import re
|
||||
import cStringIO
|
||||
|
||||
def constant_factory(value):
|
||||
return itertools.repeat(value).next
|
||||
|
||||
|
||||
class PatternRule:
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user