Commit ee7cc33e authored by Guido van Rossum's avatar Guido van Rossum

Address SF patch #485789 (Stefan Schwarzer).

$BROWSER should be split on os.pathsep, not on ":".
parent bec64d81
......@@ -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()):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment