From f5a39ac0b6ddc9154b1b1b55d255074d6dd4eecd Mon Sep 17 00:00:00 2001 From: jvoisin Date: Mon, 2 Nov 2015 18:18:22 +0100 Subject: Some minors pep8 modifications --- libmat/mat.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libmat/mat.py') diff --git a/libmat/mat.py b/libmat/mat.py index 5b5a83c..3947606 100644 --- a/libmat/mat.py +++ b/libmat/mat.py @@ -9,7 +9,6 @@ import os import platform import subprocess import xml.sax -import mimetypes import hachoir_core.cmd_line import hachoir_parser @@ -46,7 +45,8 @@ def get_logo(): def get_datafile_path(filename): - """ Return the path to the given ressource + """ Return the path to $filename + :param string filename: """ if os.path.isfile(os.path.join(os.path.curdir, 'data', filename)): return os.path.join(os.path.curdir, 'data', filename) @@ -82,6 +82,7 @@ class XMLParser(xml.sax.handler.ContentHandler): """ def __init__(self): + xml.sax.handler.ContentHandler.__init__(self) self.dict = {} self.list = [] self.content, self.key = '', '' -- cgit v1.3