Removing redundant code block

This commit is contained in:
Ryan McGrath 2010-02-10 18:51:58 -05:00
parent 3f5fceb38b
commit 844c1ae235

View file

@ -459,9 +459,6 @@ class setup:
apiURL = "http://api.twitter.com/%d/users/show.json?screen_name=%s" % (version, screen_name)
if apiURL != "":
try:
if self.authenticated is True:
return simplejson.load(self.opener.open(apiURL))
else:
return simplejson.load(self.opener.open(apiURL))
except HTTPError, e:
raise TwythonError("showUser() failed with a %s error code." % `e.code`, e.code)