Edgewall Software

Opened 11 years ago

Closed 11 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:


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.

Attachments (0)

Change History (1)

comment:1 Changed 11 years ago by cmlenz

  • Resolution set to fixed
  • Status changed from new to closed

This was already added in r675.

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain cmlenz.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.