diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2010-05-17 17:24:07 (GMT) |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2010-05-17 17:24:07 (GMT) |
commit | 757445bee0343ce03b93ab08bba56a7dc76da159 (patch) | |
tree | 7f5d342457a0e5b789f44f4d7e6f4678ee166e54 /Lib | |
parent | ea7b748891e32974876c9ad04224f77f82e2520a (diff) | |
download | cpython-757445bee0343ce03b93ab08bba56a7dc76da159.zip cpython-757445bee0343ce03b93ab08bba56a7dc76da159.tar.gz cpython-757445bee0343ce03b93ab08bba56a7dc76da159.tar.bz2 |
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.
........
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/urllib/request.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |