From: Georg Brandl Date: Sat, 30 Sep 2006 07:31:57 +0000 (+0000) Subject: Bug #1565661: in webbrowser, split() the command for the default X-Git-Tag: v2.6a1~2628 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8c6674511b7fd0cafcdf00011eb91c3216be094f;p=thirdparty%2FPython%2Fcpython.git 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 7b0f7367dbf0..37355877c889 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 ddf993f86693..b28eac6f5d83 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.