~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugin.py

  • Committer: Martin Pool
  • Date: 2005-07-11 07:25:42 UTC
  • Revision ID: mbp@sourcefrog.net-20050711072542-6b1917e90ffc20cf
- merge john's plugins-have-test_suite.patch:
 - plugins can provide tests
 - plugins command shows more useful information

Show diffs side-by-side

added added

removed removed

Lines of Context:
114
114
                try:
115
115
                    plugin = imp.load_module('bzrlib.plugin.' + name,
116
116
                                             *plugin_info)
117
 
                    all_plugins.append(plugin_info)
 
117
                    all_plugins.append(plugin)
118
118
                finally:
119
119
                    if plugin_info[0] is not None:
120
120
                        plugin_info[0].close()