~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugin.py

  • Committer: Alexey Shamrin
  • Date: 2005-11-21 09:07:18 UTC
  • mfrom: (1185.38.10)
  • mto: (1185.33.35 bzr.dev)
  • mto: This revision was merged to the branch mainline in revision 1510.
  • Revision ID: shamrin@gmail.com-20051121090718-48400620bf12c6c6
merge forgotten win32 fixes from http://bzr.arbash-meinel.com/branches/bzr/win32/

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
        #raise BzrError("plugins already initialized")
80
80
    _loaded = True
81
81
 
82
 
    dirs = os.environ.get('BZR_PLUGIN_PATH', DEFAULT_PLUGIN_PATH).split(":")
 
82
    dirs = os.environ.get('BZR_PLUGIN_PATH', DEFAULT_PLUGIN_PATH).split(os.pathsep)
83
83
    dirs.insert(0, os.path.dirname(plugins.__file__))
84
84
 
85
85
    # The problem with imp.get_suffixes() is that it doesn't include