~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugin.py

[merge] up-to-date against bzr.dev

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