/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/gpg.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:
37
37
from . import (
38
38
    errors,
39
39
    )
40
 
from .sixish import (
41
 
    text_type,
42
 
    )
43
40
 
44
41
# verification results
45
42
SIGNATURE_VALID = 0
243
240
            raise GpgNotInstalled(
244
241
                'Set create_signatures=no to disable creating signatures.')
245
242
 
246
 
        if isinstance(content, text_type):
 
243
        if isinstance(content, str):
247
244
            raise errors.BzrBadParameterUnicode('content')
248
245
 
249
246
        plain_text = gpg.Data(content)