From 350be4a5496d10fab85b03fde65597e3a618abdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A6var=20=C3=96fj=C3=B6r=C3=B0=20Magn=C3=BAsson?= Date: Wed, 25 Jul 2012 16:06:26 +0000 Subject: [PATCH] Appengine workaround --- requests/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requests/utils.py b/requests/utils.py index 730b2f3a..ce08ba78 100644 --- a/requests/utils.py +++ b/requests/utils.py @@ -101,7 +101,7 @@ def get_netrc_auth(url): pass # AppEngine hackiness. - except AttributeError: + except (ImportError, AttributeError): pass