Rev 50: sax escape authors again. in file:///home/jelmer/bzr-cia/trunk/

Jelmer Vernooij jelmer at samba.org
Mon May 4 23:01:44 BST 2009


At file:///home/jelmer/bzr-cia/trunk/

------------------------------------------------------------
revno: 50
revision-id: jelmer at samba.org-20090504220143-pgv9d6q21l7v5woy
parent: jelmer at samba.org-20090504215904-ba0vb5yvcjonfxu3
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: trunk
timestamp: Tue 2009-05-05 00:01:43 +0200
message:
  sax escape authors again.
modified:
  __init__.py                    __init__.py-20060326151358-eca40ae045b6d836
=== modified file '__init__.py'
--- a/__init__.py	2009-05-04 21:59:04 +0000
+++ b/__init__.py	2009-05-04 22:01:43 +0000
@@ -83,7 +83,7 @@
     [files.append(f) for (_,f,_,_,_,_) in delta.renamed]
     [files.append(f) for (f,_,_,_,_) in delta.modified]
 
-    authors_xml = "".join(["      <author>%s</author>\n" % author for author in authors])
+    authors_xml = "".join(["      <author>%s</author>\n" % saxutils.escape(author) for author in authors])
 
     return """
 <message>




More information about the bazaar-commits mailing list