This does a better job :).

This commit is contained in:
js 2008-07-20 14:48:08 +00:00
parent 41e3b00dbe
commit dd63bbe7d2
1 changed files with 4 additions and 2 deletions

View File

@ -1,9 +1,11 @@
docdir = '../'
import re
docdir = '../'
datadir = '../'
version = '0.11.4.4-svn'
rev = '$Rev$'.replace('$', '').replace('Rev', '').replace(': ', '')
rev = re.sub('[^0-9]', '', '$Rev$')
if rev is not '':
version += ' r' + rev