summaryrefslogtreecommitdiff
path: root/versioninfo.py
diff options
context:
space:
mode:
authorscoder <none@none>2006-11-28 17:19:31 +0100
committerscoder <none@none>2006-11-28 17:19:31 +0100
commitd1240f7025a33c8f3f969c1b84af0657e54b758a (patch)
treea6dde9970d8503f39910060512aca701f209b456 /versioninfo.py
parent7f5b8aab19e1eb70e3dfe2f80b716129439c64c7 (diff)
downloadpython-lxml-d1240f7025a33c8f3f969c1b84af0657e54b758a.tar.gz
[svn r2075] reverted to original implementation by Sidnei
--HG-- branch : trunk
Diffstat (limited to 'versioninfo.py')
-rw-r--r--versioninfo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/versioninfo.py b/versioninfo.py
index 7b92b6d6..77b9efe1 100644
--- a/versioninfo.py
+++ b/versioninfo.py
@@ -30,8 +30,8 @@ def svn_version():
f.close()
if data.startswith('8'):
- data = data[1:] # get rid of the '8'
data = map(str.splitlines, data.split('\n\x0c\n'))
+ del data[0][0] # get rid of the '8'
dirurl = data[0][3]
localrev = max([int(d[9]) for d in data if len(d)>9 and d[9]])
elif data.startswith('<?xml'):