Closed GoogleCodeExporter closed 9 years ago
here's the diff that works for me:
def _get_renderer(self):
+ # first, try a perfect type match
+ for t in self.parent.default_renderers:
+ if not isinstance(t, basestring) and type(self.type) is t:
+ return self.parent.default_renderers[t]
+ # next, try a class + subclass match
Original comment by ziade.ta...@gmail.com
on 18 Sep 2009 at 9:33
fixed, thanks
Original comment by gael.pas...@gmail.com
on 18 Sep 2009 at 12:58
Thx :)
Original comment by ziade.ta...@gmail.com
on 18 Sep 2009 at 2:05
Original issue reported on code.google.com by
ziade.ta...@gmail.com
on 17 Sep 2009 at 5:19