Commit 68936ed8 authored by Fred Drake's avatar Fred Drake

Remove unnecessary "global" statement -- already in global context.
Python 2.1 complained about this because the global was assigned to
before the global statement, all in a single scope.
parent d10b435f
......@@ -86,7 +86,7 @@
""" Request log profiler script """
__version__='$Revision: 1.4 $'[11:-2]
__version__='$Revision: 1.5 $'[11:-2]
import string, sys, time, getopt, tempfile
......@@ -537,7 +537,6 @@ if __name__ == '__main__':
if opt=='--top': top=int(val)
if opt=='--help': print detailedusage(); sys.exit(0)
if opt=='--verbose':
global verbose
verbose = 1
if opt=='--today':
now = time.gmtime(time.time())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment