diff options
author | Maximilian Hils <git@maximilianhils.com> | 2016-07-07 01:21:15 -0700 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2016-07-07 01:21:15 -0700 |
commit | f259b9478fb03e816af8abde29ae369342d40e4f (patch) | |
tree | bc77a497bdfd11516e91c341a3107f098c384824 /examples | |
parent | 64ac2c73fe1c10bda9c5ff348e81f6dfaa7439b9 (diff) | |
download | mitmproxy-f259b9478fb03e816af8abde29ae369342d40e4f.tar.gz mitmproxy-f259b9478fb03e816af8abde29ae369342d40e4f.tar.bz2 mitmproxy-f259b9478fb03e816af8abde29ae369342d40e4f.zip |
disable harparser on py3
Diffstat (limited to 'examples')
-rw-r--r-- | examples/har_extractor.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/har_extractor.py b/examples/har_extractor.py index d6b50c21..a5c05519 100644 --- a/examples/har_extractor.py +++ b/examples/har_extractor.py @@ -60,6 +60,12 @@ def start(context): suit your actual needs of HAR generation. As it will probably be necessary to cluster logs by IPs or reset them from time to time. """ + if sys.version_info >= (3, 0): + raise RuntimeError( + "har_extractor.py does not work on Python 3. " + "Please check out https://github.com/mitmproxy/mitmproxy/issues/1320 " + "if you want to help making this work again." + ) context.dump_file = None if len(sys.argv) > 1: context.dump_file = sys.argv[1] |