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

Closed
huanguan1978 opened this Issue Oct 25, 2012 · 3 comments

Comments

Projects
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

Owner

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