From 757445bee0343ce03b93ab08bba56a7dc76da159 Mon Sep 17 00:00:00 2001 From: Florent Xicluna Date: Mon, 17 May 2010 17:24:07 +0000 Subject: Merged revision 81259 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81259 | florent.xicluna | 2010-05-17 12:39:07 +0200 (lun, 17 mai 2010) | 2 lines Slight style cleanup. ........ --- Lib/urllib/request.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py index c701360..c912833 100644 --- a/Lib/urllib/request.py +++ b/Lib/urllib/request.py @@ -1965,7 +1965,7 @@ class FancyURLopener(URLopener): else: return self.open(newurl, data) - def get_user_passwd(self, host, realm, clear_cache = 0): + def get_user_passwd(self, host, realm, clear_cache=0): key = realm + '@' + host.lower() if key in self.auth_cache: if clear_cache: -- cgit v0.12