diff options
| author | Shadab Zafar <dufferzafar0@gmail.com> | 2016-05-11 02:09:42 +0530 | 
|---|---|---|
| committer | Shadab Zafar <dufferzafar0@gmail.com> | 2016-05-26 23:07:37 +0530 | 
| commit | daaa672d3974dfda9bfdad9c89b27e5e6237992c (patch) | |
| tree | 3f0c9d8e1769476aeaf3c5a0ec247600b62d7c36 | |
| parent | 5c62fabc84d0e2e7cbb5fcde494bbfa11dd593b2 (diff) | |
| download | mitmproxy-daaa672d3974dfda9bfdad9c89b27e5e6237992c.tar.gz mitmproxy-daaa672d3974dfda9bfdad9c89b27e5e6237992c.tar.bz2 mitmproxy-daaa672d3974dfda9bfdad9c89b27e5e6237992c.zip  | |
Remove Py3 specific check
| -rw-r--r-- | pathod/utils.py | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/pathod/utils.py b/pathod/utils.py index b14535ca..0cc77ab2 100644 --- a/pathod/utils.py +++ b/pathod/utils.py @@ -60,8 +60,7 @@ def inner_repr(s):          Returns the inner portion of a string or unicode repr (i.e. without the          quotes)      """ -    if (six.PY2 and isinstance(s, unicode)) or \ -            (six.PY3 and isinstance(s, bytes)): +    if (six.PY2 and isinstance(s, unicode)) or isinstance(s, bytes):          return repr(s)[2:-1]      else:          return repr(s)[1:-1]  | 
