From f9bb8d351aba420eb43db5a29b4ad97606998596 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Tue, 8 Jul 2014 11:08:45 +0100 Subject: Run pyflakes during test and fix errors --- mammoth/docx/document_xml.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mammoth/docx/document_xml.py') diff --git a/mammoth/docx/document_xml.py b/mammoth/docx/document_xml.py index 83ddcdd..75d21fb 100644 --- a/mammoth/docx/document_xml.py +++ b/mammoth/docx/document_xml.py @@ -129,13 +129,13 @@ def _create_reader(numbering, content_types, relationships, styles, docx_file): @handler("w:tr") - def table(element): + def table_row(element): return _read_xml_elements(element.children) \ .map(documents.table_row) @handler("w:tc") - def table(element): + def table_cell(element): return _read_xml_elements(element.children) \ .map(documents.table_cell) -- cgit v1.2.3