diff --git a/Lib/webbrowser.py b/Lib/webbrowser.py index 58ed28ad8e0..67b086ed3a6 100644 --- a/Lib/webbrowser.py +++ b/Lib/webbrowser.py @@ -322,6 +322,7 @@ for cmd in _tryorder: if _iscommand(cmd.lower()): register(cmd.lower(), None, GenericBrowser( "%s '%%s'" % cmd.lower())) +del cmd _tryorder = filter(lambda x: _browsers.has_key(x.lower()) or x.find("%s") > -1, _tryorder)