summaryrefslogtreecommitdiffstats
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
parente05ca2aff4e7e3da133c2a2410e7d2c9bb3c1d12 (diff)
downloadcpython-dad532f7def9917707d9705fcd9201413e42ef75.zip
cpython-dad532f7def9917707d9705fcd9201413e42ef75.tar.gz
cpython-dad532f7def9917707d9705fcd9201413e42ef75.tar.bz2
Issue 10738: Fix webbrowser.Opera.raise_opts value.
-rw-r--r--Lib/webbrowser.py6
-rw-r--r--Misc/NEWS2
2 files changed, 3 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"
diff --git a/Misc/NEWS b/Misc/NEWS
index 8eec18e..5f0ed82 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -20,6 +20,8 @@ Core and Builtins
Library
-------
+- Issue 10738: Fix webbrowser.Opera.raise_opts
+
- Issue 9824: SimpleCookie now encodes , and ; in values to cater to how
browsers actually parse cookies.