Fix the way the version number is gotten out of the RCS revision.

This commit is contained in:
Guido van Rossum 1997-12-09 19:39:12 +00:00
parent 1a24bb53d5
commit ba179051aa

View file

@ -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