Bug #1565661: in webbrowser, split() the command for the default
GNOME browser in case it is a command with args.
diff --git a/Lib/webbrowser.py b/Lib/webbrowser.py
index 7b0f736..3735587 100644
--- a/Lib/webbrowser.py
+++ b/Lib/webbrowser.py
@@ -447,7 +447,7 @@
# 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",
diff --git a/Misc/NEWS b/Misc/NEWS
index ddf993f..b28eac6 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -56,6 +56,9 @@
Library
-------
+- Bug #1565661: in webbrowser, split() the command for the default
+ GNOME browser in case it is a command with args.
+
- Made the error message for time.strptime when the data data and format do
match be more clear.