Revision ae854c80

b/snf-common/synnefo/util/urltools.py
71 71
    'fragment': ' +#'
72 72
}
73 73

  
74
_hextochr = {'%02x' % i: chr(i) for i in range(256)}
75
_hextochr.update({'%02X' % i: chr(i) for i in range(256)})
74
#_hextochr = {'%02x' % i: chr(i) for i in range(256)}
75
#_hextochr.update({'%02X' % i: chr(i) for i in range(256)})
76
_hextochr = dict(('%02x' % i, chr(i)) for i in range(256))
77
_hextochr.update(dict(('%02X' % i, chr(i)) for i in range(256)))
76 78
_idna_encode = lambda x: x.decode('utf-8').encode('idna')
77 79
_idna_decode = lambda x: x.decode('idna').encode('utf-8')
78 80

  

Also available in: Unified diff