summaryrefslogtreecommitdiffstats
path: root/Lib/webbrowser.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2006-09-30 07:32:00 (GMT)
committerGeorg Brandl <georg@python.org>2006-09-30 07:32:00 (GMT)
commitbbcb2814f2745ddd652480c3a932911680881544 (patch)
tree72f7a9882fe59e7d051c22c0868d908d4a6fb0de /Lib/webbrowser.py
parent2b48f9490ff04f7f593f142d8efecafbedca8490 (diff)
downloadcpython-bbcb2814f2745ddd652480c3a932911680881544.zip
cpython-bbcb2814f2745ddd652480c3a932911680881544.tar.gz
cpython-bbcb2814f2745ddd652480c3a932911680881544.tar.bz2
Bug #1565661: in webbrowser, split() the command for the default
GNOME browser in case it is a command with args. (backport from rev. 52056)
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",