From 782d1ff22f85f66c6da6f375e578ba3a5a3589a5 Mon Sep 17 00:00:00 2001 From: Burak Arslan Date: Tue, 14 Mar 2017 21:00:42 +0300 Subject: [PATCH] HtmlColumnTable: before_table event is fired with prot=self --- spyne/protocol/html/table/column.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spyne/protocol/html/table/column.py b/spyne/protocol/html/table/column.py index ecde24e59..c7321deaf 100644 --- a/spyne/protocol/html/table/column.py +++ b/spyne/protocol/html/table/column.py @@ -270,7 +270,7 @@ def _gen_table(self, ctx, cls, inst, parent, name, gen_rows, **kwargs): attrib['width'] = self.table_width self.event_manager.fire_event('before_table', ctx, cls, inst, parent, - name, **kwargs) + name, prot=self, **kwargs) with parent.element('table', attrib): write_header = self.header