fix logic in the svn_revision define #385
This commit is contained in:
parent
9ce6792eda
commit
8676d23081
1 changed files with 1 additions and 1 deletions
|
@ -833,7 +833,7 @@ if not preconfigured:
|
|||
|
||||
|
||||
svn_version = call('svnversion')
|
||||
if svn_version == 'exported':
|
||||
if not svn_version == 'exported':
|
||||
pattern = r'(\d+)(.*)'
|
||||
try:
|
||||
rev = re.match(pattern,svn_version).groups()[0]
|
||||
|
|
Loading…
Reference in a new issue