]> granicus.if.org Git - python/commitdiff
Bug #1565661: in webbrowser, split() the command for the default
authorGeorg Brandl <georg@python.org>
Sat, 30 Sep 2006 07:31:57 +0000 (07:31 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 30 Sep 2006 07:31:57 +0000 (07:31 +0000)
GNOME browser in case it is a command with args.

Lib/webbrowser.py
Misc/NEWS

index 7b0f7367dbf09bb512621c94d57005151c96a657..37355877c8898e6e57be4cfdf06425935f654fc3 100644 (file)
@@ -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",
index ddf993f86693dede6aca35e4b888b8e2cf6dfc2f..b28eac6f5d83ae160c62e0427903215b85f89842 100644 (file)
--- 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.