summaryrefslogtreecommitdiff
path: root/giscanner/annotationparser.py
diff options
context:
space:
mode:
authorDieter Verfaillie <dieterv@optionexplicit.be>2013-04-25 00:22:59 +0200
committerDieter Verfaillie <dieterv@optionexplicit.be>2013-05-07 15:36:09 +0200
commitbb482abafe4bc6d88cbbc4abc36967a3012e9f50 (patch)
treee5943af0d2163322c947c328fe0e6f2b627bb30b /giscanner/annotationparser.py
parent0dbd46680a7fac7ac74c2945e23b95dd04ff79dc (diff)
downloadgobject-introspection-bb482abafe4bc6d88cbbc4abc36967a3012e9f50.tar.gz
giscanner: remove unneeded encode('utf-8').decode('utf-8') roundtrip
line is a unicode() instance, xml.sax.saxutils.escape() does nothing more than call a couple of replace() methods on said unicode() instance so it makes little sense to encode line into a str() and decode the escaped result back into a unicode(). https://bugzilla.gnome.org/show_bug.cgi?id=699533
Diffstat (limited to 'giscanner/annotationparser.py')
0 files changed, 0 insertions, 0 deletions