diff options
author | Guido van Rossum <guido@python.org> | 2001-12-04 17:43:22 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-12-04 17:43:22 (GMT) |
commit | 4b402f207416a448197fc5696ae3a1e4e3fbcac1 (patch) | |
tree | 7a73a5d08568937b4ddcec525334c5f2fa914894 /Lib/webbrowser.py | |
parent | 64b206c19e764d12f61681359544938c45912262 (diff) | |
download | cpython-4b402f207416a448197fc5696ae3a1e4e3fbcac1.zip cpython-4b402f207416a448197fc5696ae3a1e4e3fbcac1.tar.gz cpython-4b402f207416a448197fc5696ae3a1e4e3fbcac1.tar.bz2 |
Address SF patch #485789 (Stefan Schwarzer).
$BROWSER should be split on os.pathsep, not on ":".
Diffstat (limited to 'Lib/webbrowser.py')
-rw-r--r-- | Lib/webbrowser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/webbrowser.py b/Lib/webbrowser.py index 11c8301..d05c18b 100644 --- a/Lib/webbrowser.py +++ b/Lib/webbrowser.py @@ -313,7 +313,7 @@ if sys.platform[:3] == "os2" and _iscommand("netscape.exe"): if os.environ.has_key("BROWSER"): # It's the user's responsibility to register handlers for any unknown # browser referenced by this value, before calling open(). - _tryorder = os.environ["BROWSER"].split(":") + _tryorder = os.environ["BROWSER"].split(os.pathsep) for cmd in _tryorder: if not _browsers.has_key(cmd.lower()): |