Edgewall Software

Opened 16 years ago

Closed 16 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 16 years ago by cmlenz

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

This was already added in r675.

Note: See TracTickets for help on using tickets.