]> granicus.if.org Git - python/commitdiff
Issue 10738: Fix webbrowser.Opera.raise_opts value.
authorTerry Reedy <tjreedy@udel.edu>
Tue, 28 Dec 2010 19:30:19 +0000 (19:30 +0000)
committerTerry Reedy <tjreedy@udel.edu>
Tue, 28 Dec 2010 19:30:19 +0000 (19:30 +0000)
Lib/webbrowser.py
Misc/NEWS

index 0e8815ad6063130e946bc201a33a606c244920ae..e369acb1df64a623119ce220b4b887adf0a12e91 100644 (file)
@@ -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"
index 8eec18e32163f4ad7ccc924e5bdad8ba8dd903d8..5f0ed827cea7d2f8b8c96f0750dd06216dfb7613 100644 (file)
--- 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.