~barry/mailman/lp1423756

« back to all changes in this revision

Viewing changes to src/mailman/bin/export.py

  • Committer: Barry Warsaw
  • Date: 2015-01-05 01:20:33 UTC
  • mfrom: (7264.4.66 py3)
  • Revision ID: barry@list.org-20150105012033-zdrw9c2odhpf22fz
Merge the Python 3 branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
134
134
            print >> self._fp, '<%s%s/>' % (_name, attrs)
135
135
        else:
136
136
            # The value might contain angle brackets.
137
 
            value = escape(unicode(_value))
 
137
            value = escape(_value.decode('utf-8'))
138
138
            print >> self._fp, '<%s%s>%s</%s>' % (_name, attrs, value, _name)
139
139
 
140
140
    def _do_list_categories(self, mlist, k, subcat=None):