[Python-checkins] r52056 - in python/trunk: Lib/webbrowser.py Misc/NEWS

georg.brandl python-checkins at python.org
Sat Sep 30 09:31:57 CEST 2006


Author: georg.brandl
Date: Sat Sep 30 09:31:57 2006
New Revision: 52056

Modified:
   python/trunk/Lib/webbrowser.py
   python/trunk/Misc/NEWS
Log:
Bug #1565661: in webbrowser, split() the command for the default
GNOME browser in case it is a command with args.


Modified: python/trunk/Lib/webbrowser.py
==============================================================================
--- python/trunk/Lib/webbrowser.py	(original)
+++ python/trunk/Lib/webbrowser.py	Sat Sep 30 09:31:57 2006
@@ -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",

Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS	(original)
+++ python/trunk/Misc/NEWS	Sat Sep 30 09:31:57 2006
@@ -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.
 


More information about the Python-checkins mailing list