~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugin.py

  • Committer: Martin Pool
  • Date: 2005-08-29 05:13:54 UTC
  • Revision ID: mbp@sourcefrog.net-20050829051353-656edb4fe57910a6
- better debug log for loading of plugins

Show diffs side-by-side

added added

removed removed

Lines of Context:
116
116
                finally:
117
117
                    if plugin_info[0] is not None:
118
118
                        plugin_info[0].close()
119
 
            except Exception, e:
 
119
 
 
120
                mutter('loaded succesfully')
 
121
            except:
120
122
                log_error('Unable to load plugin %r from %r' % (name, d))
121
 
                log_error(str(e))
122
123
                log_exception()
123
124