Message185419
ElementTree issue is with tabs:
In [1]: import xml.etree.cElementTree as etree
In [2]: doc = etree.fromstring('<xml />')
In [4]: doc.set('attr', "here\tthere")
In [5]: etree.tostring(doc)
Out[5]: '<xml attr="here\tthere" />'
In [6]: etree.fromstring(_5).attrib['attr']
Out[6]: 'here there'
bye bye tab. |
|
Date |
User |
Action |
Args |
2013-03-28 10:17:03 | piro | set | recipients:
+ piro, effbot, amaury.forgeotdarc, ajaksu2, ezio.melotti, sayap, Tomalak, devon, labrat, moriyoshi, BreamoreBoy, gauges, Jens.Grivolla |
2013-03-28 10:17:03 | piro | set | messageid: <1364465823.69.0.32283691619.issue5752@psf.upfronthosting.co.za> |
2013-03-28 10:17:03 | piro | link | issue5752 messages |
2013-03-28 10:17:03 | piro | create | |
|