summaryrefslogtreecommitdiffstats
path: root/Lib/webbrowser.py
diff options
context:
space:
mode:
authorTerry Reedy <tjreedy@udel.edu>2010-12-28 19:30:19 (GMT)
committerTerry Reedy <tjreedy@udel.edu>2010-12-28 19:30:19 (GMT)
commitdad532f7def9917707d9705fcd9201413e42ef75 (patch)
tree727c9fd4c4341d288dd6b27f0feece56c7f2f94e /Lib/webbrowser.py
parente05ca2aff4e7e3da133c2a2410e7d2c9bb3c1d12 (diff)
downloadcpython-dad532f7def9917707d9705fcd9201413e42ef75.zip
cpython-dad532f7def9917707d9705fcd9201413e42ef75.tar.gz
cpython-dad532f7def9917707d9705fcd9201413e42ef75.tar.bz2
Issue 10738: Fix webbrowser.Opera.raise_opts value.
Diffstat (limited to 'Lib/webbrowser.py')
-rw-r--r--Lib/webbrowser.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/Lib/webbrowser.py b/Lib/webbrowser.py
index 0e8815a..e369acb 100644
--- a/Lib/webbrowser.py
+++ b/Lib/webbrowser.py
@@ -286,12 +286,10 @@ class Mozilla(UnixBrowser):
"""Launcher class for Mozilla/Netscape browsers."""
raise_opts = ["-noraise", "-raise"]
-
remote_args = ['-remote', 'openURL(%s%action)']
remote_action = ""
remote_action_newwin = ",new-window"
remote_action_newtab = ",new-tab"
-
background = True
Netscape = Mozilla
@@ -304,15 +302,13 @@ class Galeon(UnixBrowser):
remote_args = ['%action', '%s']
remote_action = "-n"
remote_action_newwin = "-w"
-
background = True
class Opera(UnixBrowser):
"Launcher class for Opera browser."
- raise_opts = ["", "-raise"]
-
+ raise_opts = ["-noraise", ""]
remote_args = ['-remote', 'openURL(%s%action)']
remote_action = ""
remote_action_newwin = ",new-window"