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

index 8af14b9f7455ef7d3d65bd22eaaa704e30b0d6b7..41fd1758ac1125f8bc6839ca388c5cf7373c6e83 100644 (file)
@@ -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"
index 6ffb39a1dcd9b4942ea47ee2de9c36c709ebeb41..da3928ee6b2d1de916c832c783d585b83aa689f3 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -22,6 +22,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.