/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/plugin.py

  • Committer: Jelmer Vernooij
  • Date: 2017-09-02 23:44:24 UTC
  • mto: This revision was merged to the branch mainline in revision 6781.
  • Revision ID: jelmer@jelmer.uk-20170902234424-cuu23w9wke2ngywl
Check for plugin existing in sys.modules but being None.

Show diffs side-by-side

added added

removed removed

Lines of Context:
452
452
        module = sys.modules[_MODULE_PREFIX + name]
453
453
    except KeyError:
454
454
        return None
 
455
    if module is None:
 
456
        return None
455
457
    return PlugIn(name, module)
456
458
 
457
459