mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
Patch for issue 2848, mostly by Humberto Diogenes, with a couple of
small fixes by Barry. This removes mimetools from the stdlib.
This commit is contained in:
parent
75f25f2c9a
commit
820c120059
23 changed files with 146 additions and 202 deletions
|
@ -53,7 +53,7 @@ def _check1version(package, url, version, verbose=0):
|
|||
print(' Cannot open:', arg)
|
||||
return -1, None, None
|
||||
msg = rfc822.Message(fp, seekable=0)
|
||||
newversion = msg.getheader('current-version')
|
||||
newversion = msg.get('current-version')
|
||||
if not newversion:
|
||||
if verbose >= VERBOSE_EACHFILE:
|
||||
print(' No "Current-Version:" header in URL or URL not found')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue