Skip to content

Commit

Permalink
Roll back use of __class__; neither C nor Python proxy can directly l…
Browse files Browse the repository at this point in the history
…ie to 'type'. This turns out to be a bug in the zope.security.proxy.removeSecurityProxy function under pure-Python, so the build won't be green until zopefoundation/zope.security#11 or something like it is released.
  • Loading branch information
jamadden committed May 31, 2015
1 parent ec3e21f commit 591c133
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zope/pagetemplate/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def evaluateMacro(self, expr):
...
>>> zc = ZopeContext(ExpressionEngine, {})
>>> out = zc.evaluateMacro(expression)
>>> out.__class__
>>> type(out)
<type 'list'>
The method does some trivial checking to make sure we are getting
Expand Down

0 comments on commit 591c133

Please sign in to comment.