summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIdan Gazit <idan@gazit.me>2012-05-01 23:01:45 +0300
committerIdan Gazit <idan@gazit.me>2012-05-01 23:01:45 +0300
commit1aebdfcfe222274a56780969ff5d7edcfded013f (patch)
tree152d865d4f40e371c120d60f5c68f54dd9236943
parent73de3fb4c428a3b101a46b040c2a7fa2c171ff26 (diff)
downloadoauthlib-1aebdfcfe222274a56780969ff5d7edcfded013f.tar.gz
Remove dead code
-rw-r--r--oauthlib/common.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/oauthlib/common.py b/oauthlib/common.py
index 86909ed..e08bcb5 100644
--- a/oauthlib/common.py
+++ b/oauthlib/common.py
@@ -17,11 +17,6 @@ import urlparse
always_safe = (u'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
u'abcdefghijklmnopqrstuvwxyz'
u'0123456789' u'_.-')
-_safe_map = {}
-for i, c in zip(xrange(256), str(bytearray(xrange(256)))):
- _safe_map[c] = (c if (i < 128 and c in always_safe) else \
- '%{0:02X}'.format(i)).decode('utf-8')
-_safe_quoters = {}
def quote(s, safe=u'/'):