From cb33a80b60b16942132cb356badaf9d18b0ca696 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Mon, 5 Aug 2013 16:39:09 +0200 Subject: ignore update errors when using the update script --- bin/updater.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/updater.py') diff --git a/bin/updater.py b/bin/updater.py index 9e6d7b5a0..5c83b98b0 100644 --- a/bin/updater.py +++ b/bin/updater.py @@ -132,7 +132,7 @@ def main(): # register user and password for a certain url auth = urllib.request.HTTPPasswordMgrWithDefaultRealm() - auth.add_password(None, args.url, args.user, args.password) + auth.add_password("Authorisation Required", args.url, args.user, args.password) auth_handler = urllib.request.HTTPBasicAuthHandler(auth) opener = urllib.request.build_opener(auth_handler) urllib.request.install_opener(opener) -- cgit v1.2.3