Address SF patch #485789 (Stefan Schwarzer).

$BROWSER should be split on os.pathsep, not on ":".
This commit is contained in:
Guido van Rossum 2001-12-04 17:43:22 +00:00
parent 64b206c19e
commit 4b402f2074
1 changed files with 1 additions and 1 deletions

View File

@ -313,7 +313,7 @@ def open_new(self, url):
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()):