[Formed-commits] r350 - trunk/formed/formed/io
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Apr 6 12:39:06 CEST 2010
Author: torsten
Date: 2010-04-06 12:39:06 +0200 (Tue, 06 Apr 2010)
New Revision: 350
Modified:
trunk/formed/formed/io/document.py
Log:
Moved revision comment after the xml-declaration.
Modified: trunk/formed/formed/io/document.py
===================================================================
--- trunk/formed/formed/io/document.py 2010-04-06 10:34:58 UTC (rev 349)
+++ trunk/formed/formed/io/document.py 2010-04-06 10:39:06 UTC (rev 350)
@@ -119,8 +119,8 @@
tagName = classesToTagNames.get(nc.__class__, "leaf")
return u"%s<%s%s/>" % (indent, tagName, _attributesToXML(nc))
if isinstance(nc, Document):
- out = [ u'<!-- $Revision$ -->\n',
- u'<?xml version="1.0" encoding="UTF-8"?>\n' ]
+ out = [ u'<?xml version="1.0" encoding="UTF-8"?>\n',
+ u'<!-- $Revision$ -->\n']
out.append(_toXML(nc.root))
return "".join(out)
return ""
More information about the Formed-commits
mailing list