From 8c6674511b7fd0cafcdf00011eb91c3216be094f Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 30 Sep 2006 07:31:57 +0000 Subject: Bug #1565661: in webbrowser, split() the command for the default GNOME browser in case it is a command with args. --- Lib/webbrowser.py | 2 +- Misc/NEWS | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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 @@ 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", diff --git a/Misc/NEWS b/Misc/NEWS index ddf993f..b28eac6 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -56,6 +56,9 @@ Core and builtins 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. -- cgit v0.12