~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugin.py

  • Committer: John Arbash Meinel
  • Date: 2005-07-12 21:47:20 UTC
  • mto: (1185.11.1)
  • mto: This revision was merged to the branch mainline in revision 1396.
  • Revision ID: john@arbash-meinel.com-20050712214719-cdd96de34a240837
merging mainline patch 908, plugins have tests.

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()