Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

bug line 148, raise e,pls #14

huanguan1978 opened this Issue Oct 25, 2012 · 3 comments


None yet
3 participants
except urllib2.HTTPError, e:
    r = json.loads(e.read(), object_hook=_obj_hook)
    if hasattr(r, 'error_code'):
        raise APIError(r.error_code, r.get('error', ''), r.get('request', ''))

'- raise
'+ raise e


michaelliao commented Oct 27, 2012

raise = raise e, ?

line no 148:replace with raise e


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment