Message80638
From msg80438
>You should reset it by self.data = '' at end_element().
It seems that we should reset it at start_element() like this,
============================
def start_element(self, name, attrs):
...abbr...
if name == 'link':
self.data = ''
=============================
or unwanted \s, \t, and \n mix in "self.data".
That's all, thanks. |
|
Date |
User |
Action |
Args |
2009-01-27 09:57:59 | tksmashiw | set | recipients:
+ tksmashiw, ggenellina, kawai |
2009-01-27 09:57:59 | tksmashiw | set | messageid: <1233050279.36.0.555570547754.issue5036@psf.upfronthosting.co.za> |
2009-01-27 09:57:58 | tksmashiw | link | issue5036 messages |
2009-01-27 09:57:57 | tksmashiw | create | |
|