[Python-checkins] CVS: python/dist/src/Lib webbrowser.py,1.16,1.17
Eric S. Raymond
esr@users.sourceforge.net
Fri, 30 Mar 2001 17:50:55 -0800
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv12885
Modified Files:
webbrowser.py
Log Message:
Fixes a fatal bug when the module has computed alternatives containing %s.
Index: webbrowser.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/webbrowser.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** webbrowser.py 2001/03/26 15:06:15 1.16
--- webbrowser.py 2001/03/31 01:50:52 1.17
***************
*** 25,29 ****
if browser.find('%s') > -1:
# User gave us a command line, don't mess with it.
! return browser
else:
# User gave us a browser name.
--- 25,29 ----
if browser.find('%s') > -1:
# User gave us a command line, don't mess with it.
! return GenericBrowser(browser)
else:
# User gave us a browser name.