pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/bitly/bitly-api-python/commit/4dd59bd88697ba076b50fd1dad257eca9242095d

in="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/global-9c8f61f9f58ad7b2.css" /> re-apply fix for issue 8 · bitly/bitly-api-python@4dd59bd · GitHub
Skip to content
This repository was archived by the owner on Apr 9, 2021. It is now read-only.

Commit 4dd59bd

Browse files
committed
re-apply fix for issue 8
1 parent 26d3b3f commit 4dd59bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bitly_api/bitly_http.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def makeUrllib2Http(url, user_agent):
2929
response = opener.open(url)
3030
code = response.code
3131
data = response.read()
32-
except urllib2.UrlError, e:
32+
except urllib2.URLError, e:
3333
return 500, str(e)
3434
except urllib2.HTTPError, e:
3535
code = e.code

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy