commit | f963b45dfd211a745658819815dfe7bc67697452 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Mon Feb 11 18:11:09 2002 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Mon Feb 11 18:11:09 2002 +0000 |
tree | 711ee0d3f07fe35b316c6cfe5491d34570f40acf | |
parent | bc9bc187aa9e2b18a2e3d49aa743e37cdaa1bb18 [diff] [blame] |
SF #515026, delete global variable that was apparently used only in a for loop.
diff --git a/Lib/webbrowser.py b/Lib/webbrowser.py index 58ed28a..67b086e 100644 --- a/Lib/webbrowser.py +++ b/Lib/webbrowser.py
@@ -322,6 +322,7 @@ 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)