From: miv Date: Wed, 5 Oct 2011 20:39:15 +0000 (+0200) Subject: Who knew this mysterious looking code was totally useless? Not me. X-Git-Tag: twitter-1.7~2 X-Git-Url: https://jfr.im/git/z_archive/twitter.git/commitdiff_plain/516a987f44498f0dcda97c64c30c7acab7406b4d Who knew this mysterious looking code was totally useless? Not me. --- diff --git a/twitter/api.py b/twitter/api.py index 6cfc650..4459164 100644 --- a/twitter/api.py +++ b/twitter/api.py @@ -78,11 +78,6 @@ def wrap_response(response, headers): class WrappedTwitterResponse(response_typ, TwitterResponse): __doc__ = TwitterResponse.__doc__ - def __init__(self, response): - if response_typ is not int: - response_typ.__init__(self, response) - TwitterResponse.__init__(self, headers) - return WrappedTwitterResponse(response)