Opened 17 years ago
Closed 17 years ago
#203 closed defect (fixed)
Genshi Context object has no has_key method
Reported by: | ianb@… | Owned by: | cmlenz |
---|---|---|---|
Priority: | major | Milestone: | 0.5 |
Component: | Expression evaluation | Version: | 0.4.4 |
Keywords: | Cc: |
Description
In WebError (and paste.exceptions) it looks through all the frames, and gets the locals. It tests for locals.has_key(...). When there is a Genshi template in a traceback this doesn't work, as the Context object used for locals has __contains__ but no has_key.
Change History (1)
comment:1 Changed 17 years ago by cmlenz
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
This was already added in r675.