Message100634
With ET 1.3, you should have an explicit keyword argument "xml_declaration":
# ----
if xml_declaration or (xml_declaration is None and
encoding not in ("utf-8", "us-ascii")):
if method == "xml":
write("<?xml version='1.0' encoding='%s'?>\n" % encoding)
# ----
In ET 1.2.6, the same snippet looks like:
# ----
if encoding != "utf-8" and encoding != "us-ascii":
file.write("<?xml version='1.0' encoding='%s'?>\n" % encoding)
# ---- |
|
Date |
User |
Action |
Args |
2010-03-08 09:19:13 | flox | set | recipients:
+ flox, effbot, pitrou, scoder, r.david.murray |
2010-03-08 09:19:13 | flox | set | messageid: <1268039953.77.0.386935486295.issue8047@psf.upfronthosting.co.za> |
2010-03-08 09:19:12 | flox | link | issue8047 messages |
2010-03-08 09:19:12 | flox | create | |
|