/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-07-05 12:50:01 UTC
  • mfrom: (7490.40.46 work)
  • mto: (7490.40.48 work)
  • mto: This revision was merged to the branch mainline in revision 7519.
  • Revision ID: jelmer@jelmer.uk-20200705125001-7s3vo0p55szbbws7
Merge lp:brz/3.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
is also left to that stage of the process.
27
27
"""
28
28
 
 
29
from __future__ import absolute_import
 
30
 
29
31
import inspect
30
32
import os
31
33
import sys
38
40
    option,
39
41
    plugin as _mod_plugin,
40
42
    )
 
43
from .sixish import PY3
41
44
from .trace import (
42
45
    mutter,
43
46
    note,
156
159
            "msgstr \"\"\n"
157
160
            "\n".format(
158
161
                path=path, lineno=lineno, comment=comment, msg=_normalize(s)))
 
162
        if not PY3:
 
163
            line = line.decode('utf-8')
159
164
        self.outf.write(line)
160
165
 
161
166
    def poentry_in_context(self, context, string, comment=None):