From: Florent Xicluna Date: Mon, 17 May 2010 17:24:07 +0000 (+0000) Subject: Merged revision 81259 via svnmerge from X-Git-Tag: v3.2a1~769 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=757445bee0343ce03b93ab08bba56a7dc76da159;p=thirdparty%2FPython%2Fcpython.git 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. ........ --- diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py index c701360c9451..c912833cb581 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: