[Python-checkins] python/dist/src/Lib webbrowser.py,1.36,1.37

akuchling at users.sourceforge.net akuchling at users.sourceforge.net
Sun Jul 11 00:07:05 CEST 2004


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8311

Modified Files:
	webbrowser.py 
Log Message:
[Patch #981794] Add support for Firefox/Firebird

Index: webbrowser.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/webbrowser.py,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -d -r1.36 -r1.37
*** webbrowser.py	4 May 2004 09:21:43 -0000	1.36
--- webbrowser.py	10 Jul 2004 22:07:02 -0000	1.37
***************
*** 278,289 ****
      # X browsers have more in the way of options
      if os.environ.get("DISPLAY"):
!         _tryorder = ["galeon", "skipstone", "mozilla", "netscape",
                       "kfm", "grail"] + _tryorder
  
          # First, the Netscape series
!         if _iscommand("mozilla"):
!             register("mozilla", None, Netscape("mozilla"))
!         if _iscommand("netscape"):
!             register("netscape", None, Netscape("netscape"))
  
          # Next, Mosaic -- old but still in use.
--- 278,290 ----
      # X browsers have more in the way of options
      if os.environ.get("DISPLAY"):
!         _tryorder = ["galeon", "skipstone",
!                      "mozilla-firefox", "mozilla-firebird", "mozilla", "netscape",
                       "kfm", "grail"] + _tryorder
  
          # First, the Netscape series
!         for browser in ("mozilla-firefox", "mozilla-firebird",
!                         "mozilla", "netscape"):
!             if _iscommand(browser):
!                 register(browser, None, Netscape(browser))
  
          # Next, Mosaic -- old but still in use.



More information about the Python-checkins mailing list