/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/export_pot.py

  • Committer: Jelmer Vernooij
  • Date: 2020-02-07 02:14:30 UTC
  • mto: This revision was merged to the branch mainline in revision 7492.
  • Revision ID: jelmer@jelmer.uk-20200207021430-m49iq3x4x8xlib6x
Drop python2 support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
    option,
40
40
    plugin as _mod_plugin,
41
41
    )
42
 
from .sixish import PY3
43
42
from .trace import (
44
43
    mutter,
45
44
    note,
158
157
            "msgstr \"\"\n"
159
158
            "\n".format(
160
159
                path=path, lineno=lineno, comment=comment, msg=_normalize(s)))
161
 
        if not PY3:
162
 
            line = line.decode('utf-8')
163
160
        self.outf.write(line)
164
161
 
165
162
    def poentry_in_context(self, context, string, comment=None):