~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/xml_serializer.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-05-13 15:51:50 UTC
  • mfrom: (4354.1.1 bzr.dev)
  • Revision ID: pqm@pqm.ubuntu.com-20090513155150-vgm0k98ojzcl9keb
(Jelmer) Fix docstring for bzrlib.xml_serializer.escape_invalid_chars.

Show diffs side-by-side

added added

removed removed

Lines of Context:
172
172
    """Escape the XML-invalid characters in a commit message.
173
173
 
174
174
    :param message: Commit message to escape
175
 
    :param count: Number of characters that were escaped
 
175
    :return: tuple with escaped message and number of characters escaped
176
176
    """
177
177
    # Python strings can include characters that can't be
178
178
    # represented in well-formed XML; escape characters that