~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-02-23 17:00:36 UTC
  • mfrom: (4032.1.4 jam-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090223170036-3q1v68ewdt8i0to5
(Marius Kruger) Remove all trailing whitespace and add tests to
        enforce this.

Show diffs side-by-side

added added

removed removed

Lines of Context:
122
122
    }
123
123
def _escape_replace(match, map=escape_map):
124
124
    return map[match.group()]
125
 
 
 
125
 
126
126
def _escape_attrib(text, encoding=None, replace=None):
127
127
    # escape attribute value
128
128
    try:
153
153
    }
154
154
def _escape_cdata_replace(match, map=escape_cdata_map):
155
155
    return map[match.group()]
156
 
 
 
156
 
157
157
def _escape_cdata(text, encoding=None, replace=None):
158
158
    # escape character data
159
159
    try: