diff options
author | scoder <none@none> | 2009-01-18 22:09:27 +0100 |
---|---|---|
committer | scoder <none@none> | 2009-01-18 22:09:27 +0100 |
commit | 0db29cc24f16a9d15d623c43e20f590d42e96eb4 (patch) | |
tree | 6c66ef56477ad02f0d77ed1c8948587e1fc11d14 /versioninfo.py | |
parent | 05e93c1a33b304ff6ccf7a8249364c1c29abcc33 (diff) | |
download | python-lxml-0db29cc24f16a9d15d623c43e20f590d42e96eb4.tar.gz |
[svn r4063] r4948@delle: sbehnel | 2009-01-06 22:35:28 +0100
support SVN 1.5+ when reading revision numbers
--HG--
branch : trunk
Diffstat (limited to 'versioninfo.py')
-rw-r--r-- | versioninfo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/versioninfo.py b/versioninfo.py index 6cf45703..ee327d58 100644 --- a/versioninfo.py +++ b/versioninfo.py @@ -33,7 +33,7 @@ def svn_version(): data = f.read() f.close() - if data.startswith('8'): + if data[:1] in ('8', '9'): # SVN >= 1.4 data = [ d.splitlines() for d in data.split('\n\x0c\n') ] del data[0][0] # get rid of the '8' |