mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-01-12 22:48:54 +08:00
Whitepsace and extraneous code.
This commit is contained in:
@@ -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:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user