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

terry.reedy python-checkins at python.org
Tue Dec 28 20:53:33 CET 2010


Author: terry.reedy
Date: Tue Dec 28 20:53:32 2010
New Revision: 87555

Log:


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

Modified: python/branches/release27-maint/Lib/webbrowser.py
==============================================================================
--- python/branches/release27-maint/Lib/webbrowser.py	(original)
+++ python/branches/release27-maint/Lib/webbrowser.py	Tue Dec 28 20:53:32 2010
@@ -285,12 +285,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
@@ -303,15 +301,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/release27-maint/Misc/NEWS
==============================================================================
--- python/branches/release27-maint/Misc/NEWS	(original)
+++ python/branches/release27-maint/Misc/NEWS	Tue Dec 28 20:53:32 2010
@@ -22,6 +22,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