diff options
author | Guido van Rossum <guido@python.org> | 1994-08-12 13:16:50 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1994-08-12 13:16:50 (GMT) |
commit | 3f9a6ec9e672acb733db1633d5544120e1bd6841 (patch) | |
tree | 0b9d740696b94ef7a871012052d2ad1926a82b67 /Lib/urllib.py | |
parent | dc1cdca10b6e4c85406b3650ced4b3fbefd71b67 (diff) | |
download | cpython-3f9a6ec9e672acb733db1633d5544120e1bd6841.zip cpython-3f9a6ec9e672acb733db1633d5544120e1bd6841.tar.gz cpython-3f9a6ec9e672acb733db1633d5544120e1bd6841.tar.bz2 |
* Lib/rfc822.py: fix two bugs: error in readheaders interpreting
regex.match() result, and wrong logic in getfirstmatchingheader()
when the same header occurs twice consecutively
Diffstat (limited to 'Lib/urllib.py')
-rw-r--r-- | Lib/urllib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/urllib.py b/Lib/urllib.py index 14fcefa..e8f56a7 100644 --- a/Lib/urllib.py +++ b/Lib/urllib.py @@ -191,7 +191,7 @@ class URLopener: dirs, file = dirs[:-1], dirs[-1] if dirs and not dirs[0]: dirs = dirs[1:] key = (user, host, port, string.joinfields(dirs, '/')) - print 'key =', key +## print 'key =', key try: if not self.ftpcache.has_key(key): self.ftpcache[key] = \ |