Kaydet (Commit) bbcb2814 authored tarafından Georg Brandl's avatar Georg Brandl

Bug #1565661: in webbrowser, split() the command for the default

GNOME browser in case it is a command with args.
 (backport from rev. 52056)
üst 2b48f949
......@@ -447,7 +447,7 @@ def register_X_browsers():
# if successful, register it
if retncode is None and commd:
register("gnome", None, BackgroundBrowser(commd))
register("gnome", None, BackgroundBrowser(commd.split()))
# First, the Mozilla/Netscape browsers
for browser in ("mozilla-firefox", "firefox",
......
......@@ -34,6 +34,9 @@ Extension Modules
Library
-------
- Bug #1565661: in webbrowser, split() the command for the default
GNOME browser in case it is a command with args.
- Fix a bug in traceback.format_exception_only() that led to an error
being raised when print_exc() was called without an exception set.
In version 2.4, this printed "None", restored that behavior.
......
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