~jelmer/brz/fix-c-extensions

« back to all changes in this revision

Viewing changes to breezy/export_pot.py

  • Committer: Jelmer Vernooij
  • Date: 2017-07-23 22:06:41 UTC
  • mfrom: (6738 trunk)
  • mto: This revision was merged to the branch mainline in revision 6739.
  • Revision ID: jelmer@jelmer.uk-20170723220641-69eczax9bmv8d6kk
Merge trunk, address review comments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
251
251
        _write_command_help(exporter, command)
252
252
 
253
253
    plugins = breezy.global_state.plugins
 
254
    if plugin_name is not None and plugin_name not in breezy.global_state.plugins:
 
255
        raise errors.BzrError(gettext('Plugin %s is not loaded' % plugin_name))
254
256
    core_plugins = set(name for name in plugins
255
257
        if plugins[name].path().startswith(breezy.__path__[0]))
256
258
    # plugins