[Zope-Checkins] CVS: Zope2 - requestprofiler.py:1.5
fred@digicool.com
fred@digicool.com
Thu, 17 May 2001 11:53:43 -0400 (EDT)
Update of /cvs-repository/Zope2/utilities
In directory korak.digicool.com:/tmp/cvs-serv10188
Modified Files:
requestprofiler.py
Log Message:
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.
--- Updated File requestprofiler.py in package Zope2 --
--- requestprofiler.py 2001/05/03 15:15:08 1.4
+++ requestprofiler.py 2001/05/17 15:53:43 1.5
@@ -537,7 +537,6 @@
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())