This does a better job :).
This commit is contained in:
parent
41e3b00dbe
commit
dd63bbe7d2
|
@ -1,9 +1,11 @@
|
||||||
docdir = '../'
|
import re
|
||||||
|
|
||||||
|
docdir = '../'
|
||||||
datadir = '../'
|
datadir = '../'
|
||||||
|
|
||||||
version = '0.11.4.4-svn'
|
version = '0.11.4.4-svn'
|
||||||
rev = '$Rev$'.replace('$', '').replace('Rev', '').replace(': ', '')
|
|
||||||
|
rev = re.sub('[^0-9]', '', '$Rev$')
|
||||||
if rev is not '':
|
if rev is not '':
|
||||||
version += ' r' + rev
|
version += ' r' + rev
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue