[Lxml-checkins] r35087 - lxml/trunk
scoder at codespeak.net
scoder at codespeak.net
Tue Nov 28 17:19:32 CET 2006
Author: scoder
Date: Tue Nov 28 17:19:31 2006
New Revision: 35087
Modified:
lxml/trunk/versioninfo.py
Log:
reverted to original implementation by Sidnei
Modified: lxml/trunk/versioninfo.py
==============================================================================
--- lxml/trunk/versioninfo.py (original)
+++ lxml/trunk/versioninfo.py Tue Nov 28 17:19:31 2006
@@ -30,8 +30,8 @@
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'):
More information about the lxml-checkins
mailing list