diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2015-04-21 11:19:00 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2015-04-21 11:19:00 +1200 |
commit | 7d83e388aa78bb3637f71a4afb60af1baecb0314 (patch) | |
tree | 42d3a89997fbd38db887a2143d412e18ed8b54a7 /netlib/utils.py | |
parent | dd7ea896f24514bb2534b3762255e99f0aabc055 (diff) | |
download | mitmproxy-7d83e388aa78bb3637f71a4afb60af1baecb0314.tar.gz mitmproxy-7d83e388aa78bb3637f71a4afb60af1baecb0314.tar.bz2 mitmproxy-7d83e388aa78bb3637f71a4afb60af1baecb0314.zip |
Whitespace, pep8, mixed indentation
Diffstat (limited to 'netlib/utils.py')
-rw-r--r-- | netlib/utils.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/netlib/utils.py b/netlib/utils.py index 57532453..66bbdb5e 100644 --- a/netlib/utils.py +++ b/netlib/utils.py @@ -8,9 +8,11 @@ def isascii(s): return False return True + # best way to do it in python 2.x def bytes_to_int(i): - return int(i.encode('hex'), 16) + return int(i.encode('hex'), 16) + def cleanBin(s, fixspacing=False): """ |