diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2016-05-31 18:51:40 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2016-05-31 18:51:40 +1200 |
commit | da074bff01fbf359959eaa1e81b75db42e770b8b (patch) | |
tree | e3a01f68d6e21ef7eb6bcf4593d23dafaa5d2eb4 /netlib | |
parent | 6dda2b2ee544c3890f04b7bf99272998e29992b6 (diff) | |
download | mitmproxy-da074bff01fbf359959eaa1e81b75db42e770b8b.tar.gz mitmproxy-da074bff01fbf359959eaa1e81b75db42e770b8b.tar.bz2 mitmproxy-da074bff01fbf359959eaa1e81b75db42e770b8b.zip |
isascii is unused
Diffstat (limited to 'netlib')
-rw-r--r-- | netlib/utils.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/netlib/utils.py b/netlib/utils.py index cd8aa55a..91da471b 100644 --- a/netlib/utils.py +++ b/netlib/utils.py @@ -32,14 +32,6 @@ def native(s, *encoding_opts): return s -def isascii(bytes): - try: - bytes.decode("ascii") - except ValueError: - return False - return True - - def clean_bin(s, keep_spacing=True): """ Cleans binary data to make it safe to display. |