NameError in timeit middleware
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KARL4 |
Fix Released
|
Medium
|
Jim Fulton |
Bug Description
This rarely happens, but presumable in some error condition it gets triggered. I wrote the code so probably made a scoping mistake.
From Theuene:
return self.app(environ, start_response)
File "/srv/osfkarl/
return self.applicatio
File "/srv/osfkarl/
app_iter = self.app(environ, wrapper.
File "/srv/osfkarl/
resp = req.get_
File "/srv/osfkarl/
application, catch_exc_
File "/srv/osfkarl/
app_iter = application(
File "/srv/osfkarl/
request.
File "/srv/osfkarl/
callback(self)
File "/srv/osfkarl/
elapsed = time.time() - before
NameError: free variable 'before' referenced before assignment in enclosing scope
Changed in karl4: | |
status: | Fix Committed → Fix Released |
What machine did Theune see this on? When? Which process?