From: Eric S. Raymond Date: Sat, 31 Mar 2001 01:50:52 +0000 (+0000) Subject: Fixes a fatal bug when the module has computed alternatives containing %s. X-Git-Tag: v2.1c1~205 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f7eb4faf38fc9e4a215acae3323140b99cdce08f;p=thirdparty%2FPython%2Fcpython.git Fixes a fatal bug when the module has computed alternatives containing %s. --- diff --git a/Lib/webbrowser.py b/Lib/webbrowser.py index ebafd80ba006..d882e7f230ea 100644 --- a/Lib/webbrowser.py +++ b/Lib/webbrowser.py @@ -24,7 +24,7 @@ def get(using=None): for browser in alternatives: if browser.find('%s') > -1: # User gave us a command line, don't mess with it. - return browser + return GenericBrowser(browser) else: # User gave us a browser name. command = _browsers[browser.lower()]