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

  • Committer: Aaron Bentley
  • Date: 2006-12-22 02:00:06 UTC
  • mfrom: (2212 +trunk)
  • mto: (2255.6.1 dirstate)
  • mto: This revision was merged to the branch mainline in revision 2322.
  • Revision ID: aaron.bentley@utoronto.ca-20061222020006-8h1kgh4iax3c90ju
merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
160
160
            if getattr(plugins, f, None):
161
161
                mutter('Plugin name %s already loaded', f)
162
162
            else:
163
 
                mutter('add plugin name %s', f)
 
163
                # mutter('add plugin name %s', f)
164
164
                plugin_names.add(f)
165
165
 
166
166
        plugin_names = list(plugin_names)
168
168
        for name in plugin_names:
169
169
            try:
170
170
                plugin_info = imp.find_module(name, [d])
171
 
                mutter('load plugin %r', plugin_info)
 
171
                # mutter('load plugin %r', plugin_info)
172
172
                try:
173
173
                    plugin = imp.load_module('bzrlib.plugins.' + name,
174
174
                                             *plugin_info)
176
176
                finally:
177
177
                    if plugin_info[0] is not None:
178
178
                        plugin_info[0].close()
179
 
 
180
 
                mutter('loaded succesfully')
 
179
                # mutter('loaded succesfully')
181
180
            except KeyboardInterrupt:
182
181
                raise
183
182
            except Exception, e: