~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugin.py

  • Committer: John Arbash Meinel
  • Date: 2007-04-12 21:33:07 UTC
  • mfrom: (2413.4.1 api-doc-builders)
  • mto: This revision was merged to the branch mainline in revision 2566.
  • Revision ID: john@arbash-meinel.com-20070412213307-kuh07cnzaud12wx1
[merge] api-doc-builder and remove the pydoctor build code for now.

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