def unquote(string):
        if not string:
            return b''
        res = string.split(b'%')
        if len(res) != 1:
            string = res[0]
            for item in res[1:]:
                try:
                    string += bytes([int(item[:2], 16)]) + item[2:]
                except __HOLE__:
                    string += b'%' + item
        return string
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/webob-1.2.3/webob/compat.py/unquote