[Python-checkins] CVS: python/dist/src/Lib webbrowser.py,1.14,1.15

Ka-Ping Yee ping@users.sourceforge.net
2001年3月01日 18:01:42 -0800


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv8678
Modified Files:
	webbrowser.py 
Log Message:
Clarify synopsis line a bit.
Remove -no-about-splash option (not understood by all Netscapes).
Index: webbrowser.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/webbrowser.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** webbrowser.py	2001年03月01日 04:27:19	1.14
--- webbrowser.py	2001年03月02日 02:01:40	1.15
***************
*** 1,3 ****
! """Remote-control interfaces to common browsers."""
 
 import os
--- 1,3 ----
! """Interfaces for launching and remotely controlling Web browsers."""
 
 import os
***************
*** 95,99 ****
 register("w3m", None, GenericBrowser("w3m %s"))
 
! # X browsers have mre in the way of options
 if os.environ.get("DISPLAY"):
 # First, the Netscape series
--- 95,99 ----
 register("w3m", None, GenericBrowser("w3m %s"))
 
! # X browsers have more in the way of options
 if os.environ.get("DISPLAY"):
 # First, the Netscape series
***************
*** 112,116 ****
 if rc:
 import time
! os.system("%s -no-about-splash &" % self.name)
 time.sleep(PROCESS_CREATION_DELAY)
 rc = os.system(cmd)
--- 112,116 ----
 if rc:
 import time
! os.system("%s &" % self.name)
 time.sleep(PROCESS_CREATION_DELAY)
 rc = os.system(cmd)

AltStyle によって変換されたページ (->オリジナル) /