mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-24 04:14:57 +08:00
Whitespace, pep8, mixed indentation
This commit is contained in:
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user