Permalink
Browse files

re-apply fix for issue 8

  • Loading branch information...
1 parent 26d3b3f commit 4dd59bd88697ba076b50fd1dad257eca9242095d @jehiah jehiah committed Jan 7, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 bitly_api/bitly_http.py
View
@@ -29,7 +29,7 @@ def makeUrllib2Http(url, user_agent):
response = opener.open(url)
code = response.code
data = response.read()
- except urllib2.UrlError, e:
+ except urllib2.URLError, e:
return 500, str(e)
except urllib2.HTTPError, e:
code = e.code

0 comments on commit 4dd59bd

Please sign in to comment.