Skip to content
Snippets Groups Projects
Commit cb076860 authored by jacques.grelet_ird.fr's avatar jacques.grelet_ird.fr
Browse files

add debuf file info

parent 85c9801b
No related branches found
No related tags found
No related merge requests found
...@@ -180,6 +180,7 @@ class FileExtractor: ...@@ -180,6 +180,7 @@ class FileExtractor:
for file in self.fname: for file in self.fname:
with fileinput.input( with fileinput.input(
file, openhook=fileinput.hook_encoded("ISO-8859-1")) as f: file, openhook=fileinput.hook_encoded("ISO-8859-1")) as f:
logging.debug(file)
day = month = year = hour = minute = second = 0 day = month = year = hour = minute = second = 0
for line in f: for line in f:
if f.filelineno() < self.lineHeader + 1: if f.filelineno() < self.lineHeader + 1:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment