diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2002-02-11 18:11:09 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2002-02-11 18:11:09 (GMT) |
commit | f963b45dfd211a745658819815dfe7bc67697452 (patch) | |
tree | 711ee0d3f07fe35b316c6cfe5491d34570f40acf /Lib | |
parent | bc9bc187aa9e2b18a2e3d49aa743e37cdaa1bb18 (diff) | |
download | cpython-f963b45dfd211a745658819815dfe7bc67697452.zip cpython-f963b45dfd211a745658819815dfe7bc67697452.tar.gz cpython-f963b45dfd211a745658819815dfe7bc67697452.tar.bz2 |
SF #515026, delete global variable that was apparently used only
in a for loop.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/webbrowser.py | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ 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) |