[Lxml-checkins] r35086 - lxml/trunk
scoder at codespeak.net
scoder at codespeak.net
Tue Nov 28 17:17:18 CET 2006
Author: scoder
Date: Tue Nov 28 17:17:17 2006
New Revision: 35086
Modified:
lxml/trunk/versioninfo.py
Log:
fix: remove leading '8' from SVN entries data
Modified: lxml/trunk/versioninfo.py
==============================================================================
--- lxml/trunk/versioninfo.py (original)
+++ lxml/trunk/versioninfo.py Tue Nov 28 17:17:17 2006
@@ -30,7 +30,7 @@
f.close()
if data.startswith('8'):
- del data[0] # get rid of the '8'
+ data = data[1:] # get rid of the '8'
data = map(str.splitlines, data.split('\n\x0c\n'))
dirurl = data[0][3]
localrev = max([int(d[9]) for d in data if len(d)>9 and d[9]])
More information about the lxml-checkins
mailing list