fix logic in the svn_revision define #385

This commit is contained in:
Dane Springmeyer 2009-07-17 20:54:11 +00:00
parent 9ce6792eda
commit 8676d23081

View file

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