mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Fix the way the version number is gotten out of the RCS revision.
This commit is contained in:
parent
1a24bb53d5
commit
ba179051aa
1 changed files with 2 additions and 1 deletions
|
@ -105,7 +105,8 @@ for dir in os.curdir, os.environ['HOME']:
|
|||
from nntplib import NNTP
|
||||
from stat import *
|
||||
|
||||
rcsrev = '$Revision$'[11:15]
|
||||
rcsrev = '$Revision$'
|
||||
rcsrev = string.join(filter(lambda s: '$' not in s, string.split(rcsrev)))
|
||||
desc = {}
|
||||
|
||||
# Make (possibly) relative filenames into absolute ones
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue