/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: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2020-02-14 03:16:54 UTC
  • mfrom: (7479.2.3 no-more-python2)
  • Revision ID: breezy.the.bot@gmail.com-20200214031654-bp1xtv2jr9nmhto3
Drop python2 support.

Merged from https://code.launchpad.net/~jelmer/brz/no-more-python2/+merge/378694

Show diffs side-by-side

added added

removed removed

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