mirror of
https://github.com/vee1e/mitmproxy.git
synced 2026-09-02 18:57:22 +00:00
Whitepsace and extraneous code.
This commit is contained in:
parent
f028dc7e1b
commit
ca4df062bf
2 changed files with 1 additions and 4 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue