From 46963275da64f596d678a1a644bc0465927359ff Mon Sep 17 00:00:00 2001 From: Josh Roesslein Date: Tue, 8 Sep 2009 10:09:45 -0500 Subject: [PATCH] Tabs->spaces --- tweepy/binder.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tweepy/binder.py b/tweepy/binder.py index 7b4f8a5..5595db3 100644 --- a/tweepy/binder.py +++ b/tweepy/binder.py @@ -93,12 +93,12 @@ def bind_api(path, parser, allowed_param=None, method='GET', require_auth=False, resp = conn.getresponse() # If an error was returned, throw an exception - if resp.status != 200: - try: - error_msg = parse_error(resp.read()) - except Exception: - error_msg = "Unkown twitter error response received: status=%s" % resp.status - raise TweepError(error_msg) + if resp.status != 200: + try: + error_msg = parse_error(resp.read()) + except Exception: + error_msg = "Unkown twitter error response received: status=%s" % resp.status + raise TweepError(error_msg) # Pass returned body into parser and return parser output out = parser(resp.read(), api) -- 2.25.1