summaryrefslogtreecommitdiffstats
path: root/Lib/webbrowser.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2006-09-30 07:31:57 (GMT)
committerGeorg Brandl <georg@python.org>2006-09-30 07:31:57 (GMT)
commit8c6674511b7fd0cafcdf00011eb91c3216be094f (patch)
treeaeea2f22104296c1cc51540acc980d1e83e3f821 /Lib/webbrowser.py
parent21d994390cc67769525962849e10a085be6d4734 (diff)
downloadcpython-8c6674511b7fd0cafcdf00011eb91c3216be094f.zip
cpython-8c6674511b7fd0cafcdf00011eb91c3216be094f.tar.gz
cpython-8c6674511b7fd0cafcdf00011eb91c3216be094f.tar.bz2
Bug #1565661: in webbrowser, split() the command for the default
GNOME browser in case it is a command with args.
Diffstat (limited to 'Lib/webbrowser.py')
-rw-r--r--Lib/webbrowser.py2
1 files changed, 1 insertions, 1 deletions
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",