Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent renderer_info in system dict #106

Closed
paxvel opened this issue Jan 22, 2011 · 1 comment
Closed

Inconsistent renderer_info in system dict #106

paxvel opened this issue Jan 22, 2011 · 1 comment

Comments

@paxvel
Copy link

paxvel commented Jan 22, 2011

pyramid.renderers.RendererHelper render_view method injects dict(name=self.name,package=self.package) as renderer_info into system dict, which breaks code expecting renderer_info implementing IRendererInfo.

Resulution: inject self instead, as render() method does.

@mcdonc
Copy link
Member

mcdonc commented Jan 23, 2011

  • The render_view method of pyramid.renderers.RendererHelper passed
    an incorrect value into the renderer for renderer_info. It now passes
    an instance of RendererHelper instead of a dictionary, which is
    consistent with other usages. See
    https://github.com/Pylons/pyramid/issues#issue/106

Closed by 877904a

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants