~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugin.py

  • Committer: Aaron Bentley
  • Date: 2005-08-26 16:58:52 UTC
  • mto: (1185.3.4)
  • mto: This revision was merged to the branch mainline in revision 1178.
  • Revision ID: abentley@panoramicfeedback.com-20050826165852-470d0fd6768a17ab
TEST NEEDED: fixed fetch when same revision is added twice to new_missing

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
 
26
26
import os
27
 
from bzrlib.config import config_dir
 
27
from bzrlib.osutils import config_dir
28
28
DEFAULT_PLUGIN_PATH = os.path.join(config_dir(), 'plugins')
29
29
 
30
30
all_plugins = []
116
116
                finally:
117
117
                    if plugin_info[0] is not None:
118
118
                        plugin_info[0].close()
119
 
 
120
 
                mutter('loaded succesfully')
121
 
            except:
 
119
            except Exception, e:
122
120
                log_error('Unable to load plugin %r from %r' % (name, d))
 
121
                log_error(str(e))
123
122
                log_exception()
124
123