Linting
parent
e8e80a8cbb
commit
07e2e1640d
|
|
@ -208,8 +208,6 @@ class PDFHandler():
|
||||||
if not suppress_stdout:
|
if not suppress_stdout:
|
||||||
logger.info(
|
logger.info(
|
||||||
"Processing {rootname}".format(rootname=rootname))
|
"Processing {rootname}".format(rootname=rootname))
|
||||||
t = parser.extract_tables(
|
t = parser.extract_tables()
|
||||||
source_file
|
|
||||||
)
|
|
||||||
tables.extend(t)
|
tables.extend(t)
|
||||||
return TableList(sorted(tables))
|
return TableList(sorted(tables))
|
||||||
|
|
|
||||||
|
|
@ -420,7 +420,7 @@ class Hybrid(BaseParser):
|
||||||
|
|
||||||
return table
|
return table
|
||||||
|
|
||||||
def extract_tables(self, filename):
|
def extract_tables(self):
|
||||||
if self._document_has_no_text():
|
if self._document_has_no_text():
|
||||||
return []
|
return []
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -303,7 +303,7 @@ class Lattice(BaseParser):
|
||||||
|
|
||||||
return table
|
return table
|
||||||
|
|
||||||
def extract_tables(self, filename):
|
def extract_tables(self):
|
||||||
if self._document_has_no_text():
|
if self._document_has_no_text():
|
||||||
return []
|
return []
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -418,7 +418,7 @@ class Stream(BaseParser):
|
||||||
|
|
||||||
return table
|
return table
|
||||||
|
|
||||||
def extract_tables(self, filename):
|
def extract_tables(self):
|
||||||
if self._document_has_no_text():
|
if self._document_has_no_text():
|
||||||
return []
|
return []
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue