[Python-checkins] r87554 - in python/branches/release31-maint: Lib/webbrowser.py Misc/NEWS

terry.reedy python-checkins at python.org
Tue Dec 28 20:50:27 CET 2010


Author: terry.reedy
Date: Tue Dec 28 20:50:27 2010
New Revision: 87554

Log:


Modified:
   python/branches/release31-maint/Lib/webbrowser.py
   python/branches/release31-maint/Misc/NEWS

Modified: python/branches/release31-maint/Lib/webbrowser.py
==============================================================================
--- python/branches/release31-maint/Lib/webbrowser.py	(original)
+++ python/branches/release31-maint/Lib/webbrowser.py	Tue Dec 28 20:50:27 2010
@@ -286,12 +286,10 @@
     """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 @@
     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"

Modified: python/branches/release31-maint/Misc/NEWS
==============================================================================
--- python/branches/release31-maint/Misc/NEWS	(original)
+++ python/branches/release31-maint/Misc/NEWS	Tue Dec 28 20:50:27 2010
@@ -24,6 +24,8 @@
 Library
 -------
 
+- Issue 10738: Fix webbrowser.Opera.raise_opts
+
 - Issue 9824: SimpleCookie now encodes , and ; in values to cater to how
   browsers actually parse cookies.
 


More information about the Python-checkins mailing list