~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/gpg.py

  • Committer: Jonathan Riddell
  • Date: 2011-09-16 10:41:45 UTC
  • mto: This revision was merged to the branch mainline in revision 6144.
  • Revision ID: jriddell@canonical.com-20110916104145-eu7v8gkip5hi0ur1
more error gettext()ing

Show diffs side-by-side

added added

removed removed

Lines of Context:
314
314
                acceptable_keys_config = str(acceptable_keys_config)
315
315
        except UnicodeEncodeError:
316
316
            #gpg Context.keylist(pattern) does not like unicode
317
 
            raise errors.BzrCommandError('Only ASCII permitted in option names')
 
317
            raise errors.BzrCommandError(gettext('Only ASCII permitted in option names'))
318
318
 
319
319
        if acceptable_keys_config is not None:
320
320
            key_patterns = acceptable_keys_config