diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2011-02-17 11:45:12 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2011-02-17 11:45:12 +1300 |
commit | ca4df062bf4bad2d42d51ad2b40bf91fefd33e17 (patch) | |
tree | 3f1cb36149be42f16ce481bf33feace7cfda4b47 /libmproxy | |
parent | f028dc7e1bb030035ecb72fa0e9f175910d83656 (diff) | |
download | mitmproxy-ca4df062bf4bad2d42d51ad2b40bf91fefd33e17.tar.gz mitmproxy-ca4df062bf4bad2d42d51ad2b40bf91fefd33e17.tar.bz2 mitmproxy-ca4df062bf4bad2d42d51ad2b40bf91fefd33e17.zip |
Whitepsace and extraneous code.
Diffstat (limited to 'libmproxy')
-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: """ |