1. Jesper Noehr
  2. django-piston
  3. Issues
Issue #119 new

render definition in Emitter base class is incorrect

Matt Hall
created an issue

The method definition of Emitter.render is: {{{


def render(self): }}}

...but classes inheriting from this are expected to use: {{{


def render(self, request): }}}

This doesn't break anything as long as you use the correct definition in your inherited class, but it would be clearer to change the method definition to self,request, and it would clear up a pylint warning for this file.

Comments (1)

  1. Log in to comment