patches/Python-13-webbrowser.diff
author rohinis
Tue, 29 Nov 2011 17:32:55 +0000
branchs11express-2010-11
changeset 22234 c23e64da3e06
parent 14649 ce64350b36b1
permissions -rw-r--r--
2011-11-29 Rohini S <[email protected]> * patches/Python26-22-audio.diff: Fixes CVE-2010-1634 * specs/SUNWPython26.spec: Fixes CR 7085446
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14649
ce64350b36b1 +2008-11-25 henry <[email protected]>
henryz
parents:
diff changeset
     1
--- Python-2.4.4/Lib/webbrowser.py	2005-09-15 15:29:38.000000000 +0800
ce64350b36b1 +2008-11-25 henry <[email protected]>
henryz
parents:
diff changeset
     2
+++ Python-2.4.4/Lib/webbrowser.py.mod	2008-11-25 15:33:00.531544611 +0800
ce64350b36b1 +2008-11-25 henry <[email protected]>
henryz
parents:
diff changeset
     3
@@ -277,7 +277,7 @@ if os.environ.get("TERM") or os.environ.
ce64350b36b1 +2008-11-25 henry <[email protected]>
henryz
parents:
diff changeset
     4
 
ce64350b36b1 +2008-11-25 henry <[email protected]>
henryz
parents:
diff changeset
     5
     # X browsers have more in the way of options
ce64350b36b1 +2008-11-25 henry <[email protected]>
henryz
parents:
diff changeset
     6
     if os.environ.get("DISPLAY"):
ce64350b36b1 +2008-11-25 henry <[email protected]>
henryz
parents:
diff changeset
     7
-        _tryorder = ["galeon", "skipstone",
ce64350b36b1 +2008-11-25 henry <[email protected]>
henryz
parents:
diff changeset
     8
+        _tryorder = ["galeon", "skipstone", "firefox",
ce64350b36b1 +2008-11-25 henry <[email protected]>
henryz
parents:
diff changeset
     9
                      "mozilla-firefox", "mozilla-firebird", "mozilla", "netscape",
ce64350b36b1 +2008-11-25 henry <[email protected]>
henryz
parents:
diff changeset
    10
                      "kfm", "grail"] + _tryorder
ce64350b36b1 +2008-11-25 henry <[email protected]>
henryz
parents:
diff changeset
    11