diff options
-rw-r--r-- | libmproxy/dump.py | 2 | ||||
-rw-r--r-- | libmproxy/recorder.py | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/libmproxy/dump.py b/libmproxy/dump.py index ece6e190..af891dfc 100644 --- a/libmproxy/dump.py +++ b/libmproxy/dump.py @@ -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() - diff --git a/libmproxy/recorder.py b/libmproxy/recorder.py index bbbe3664..9e4a1f89 100644 --- a/libmproxy/recorder.py +++ b/libmproxy/recorder.py @@ -48,8 +48,7 @@ import filt import re import cStringIO -def constant_factory(value): - return itertools.repeat(value).next + class PatternRule: """ |