summaryrefslogtreecommitdiffstats
path: root/Lib/webbrowser.py
diff options
context:
space:
mode:
authorTerry Reedy <tjreedy@udel.edu>2010-12-28 19:53:32 (GMT)
committerTerry Reedy <tjreedy@udel.edu>2010-12-28 19:53:32 (GMT)
commit0df73674e5f2000dee01c130435c50500d599c60 (patch)
tree597ddbaa35d4cfc6f208d0af453c65979c61230f /Lib/webbrowser.py
parent08fc701714e294279bb313d2f13c7486d3ee8b7f (diff)
downloadcpython-0df73674e5f2000dee01c130435c50500d599c60.zip
cpython-0df73674e5f2000dee01c130435c50500d599c60.tar.gz
cpython-0df73674e5f2000dee01c130435c50500d599c60.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 8af14b9..41fd175 100644
--- a/Lib/webbrowser.py
+++ b/Lib/webbrowser.py
@@ -285,12 +285,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
@@ -303,15 +301,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"