svn commit: samba-web r754 - in trunk/scripts: .
deryck at samba.org
deryck at samba.org
Fri Jul 22 14:02:17 GMT 2005
Author: deryck
Date: 2005-07-22 14:02:16 +0000 (Fri, 22 Jul 2005)
New Revision: 754
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba-web&rev=754
Log:
I'll get this right one day! :-)
Don't drop the </div> if we find nested.
deryck
Modified:
trunk/scripts/updateNews.py
Changeset:
Modified: trunk/scripts/updateNews.py
===================================================================
--- trunk/scripts/updateNews.py 2005-07-22 01:11:49 UTC (rev 753)
+++ trunk/scripts/updateNews.py 2005-07-22 14:02:16 UTC (rev 754)
@@ -221,7 +221,7 @@
link = re.search('(?<=\<div class=\"reference\">Link: \<a href=\"/samba/news/).+(?=\"\>)', item_text)
# Drop end tag unless nested divs were used
- if text.group()[21:].find('<div') == 0:
+ if text.group()[21:].find('<div') > 0:
description = text.group()[21:]
else:
description = text.group()[21:-6]
More information about the samba-cvs
mailing list