diff options
author | Sam Cleveland <sam@zombisoft.com> | 2015-11-11 11:32:02 -0600 |
---|---|---|
committer | Sam Cleveland <sam@zombisoft.com> | 2015-11-11 11:32:02 -0600 |
commit | 823718348598efb324298ca29ad4cb7d5097c084 (patch) | |
tree | 104268236bb329593de27c053ea1498d8a5a5181 /netlib/odict.py | |
parent | 9cab9ee5d6f39b658c1e9260950cc3575d3ad9db (diff) | |
download | mitmproxy-823718348598efb324298ca29ad4cb7d5097c084.tar.gz mitmproxy-823718348598efb324298ca29ad4cb7d5097c084.tar.bz2 mitmproxy-823718348598efb324298ca29ad4cb7d5097c084.zip |
Porting netlib to python3.4
Updated utils.py using 2to3-3.4
Updated hexdump to use .format() with .encode() to support python 3.4
Python 3.5 supports .format() on bytes objects, but 3.4 is the current
default on Ubuntu.
samc$ py.test netlib/test/test_utils.py
= test session starts =
platform darwin -- Python 3.4.1, pytest-2.8.2, py-1.4.30, pluggy-0.3.1
rootdir: /Users/samc/src/python/netlib, inifile:
collected 11 items
netlib/test/test_utils.py ...........
= 11 passed in 0.19 seconds =
Diffstat (limited to 'netlib/odict.py')
0 files changed, 0 insertions, 0 deletions