~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugin.py

Merge from bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
    """Set the path for plugins to be loaded from."""
85
85
    path = os.environ.get('BZR_PLUGIN_PATH',
86
86
                          get_default_plugin_path()).split(os.pathsep)
87
 
    # search the bzrlib installed dir before anything else.
88
 
    path.insert(0, os.path.dirname(plugins.__file__))
 
87
    # search the plugin path before the bzrlib installed dir
 
88
    path.append(os.path.dirname(plugins.__file__))
89
89
    plugins.__path__ = path
90
90
    return path
91
91