Rev 4357: (Jelmer) Fix docstring for bzrlib.xml_serializer.escape_invalid_chars. in file:///home/pqm/archives/thelove/bzr/%2Btrunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Wed May 13 16:51:58 BST 2009


At file:///home/pqm/archives/thelove/bzr/%2Btrunk/

------------------------------------------------------------
revno: 4357
revision-id: pqm at pqm.ubuntu.com-20090513155150-vgm0k98ojzcl9keb
parent: pqm at pqm.ubuntu.com-20090513143815-8zkjotd6yj8thy22
parent: jelmer at samba.org-20090512230521-jqtm0h67wjqpja6q
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Wed 2009-05-13 16:51:50 +0100
message:
  (Jelmer) Fix docstring for bzrlib.xml_serializer.escape_invalid_chars.
modified:
  bzrlib/xml_serializer.py       xml.py-20050309040759-57d51586fdec365d
    ------------------------------------------------------------
    revno: 4354.1.1
    revision-id: jelmer at samba.org-20090512230521-jqtm0h67wjqpja6q
    parent: pqm at pqm.ubuntu.com-20090512090530-v9355ohetp61ltc1
    committer: Jelmer Vernooij <jelmer at samba.org>
    branch nick: bzr.dev
    timestamp: Wed 2009-05-13 01:05:21 +0200
    message:
      Fix docstring for bzrlib.xml_serializer.escape_invalid_chars.
    modified:
      bzrlib/xml_serializer.py       xml.py-20050309040759-57d51586fdec365d
=== modified file 'bzrlib/xml_serializer.py'
--- a/bzrlib/xml_serializer.py	2009-04-03 23:18:11 +0000
+++ b/bzrlib/xml_serializer.py	2009-05-12 23:05:21 +0000
@@ -172,7 +172,7 @@
     """Escape the XML-invalid characters in a commit message.
 
     :param message: Commit message to escape
-    :param count: Number of characters that were escaped
+    :return: tuple with escaped message and number of characters escaped
     """
     # Python strings can include characters that can't be
     # represented in well-formed XML; escape characters that




More information about the bazaar-commits mailing list