summaryrefslogtreecommitdiff
path: root/libmat/mat.py
diff options
context:
space:
mode:
Diffstat (limited to 'libmat/mat.py')
-rw-r--r--libmat/mat.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/libmat/mat.py b/libmat/mat.py
index 2634cc3..1dc51d9 100644
--- a/libmat/mat.py
+++ b/libmat/mat.py
@@ -28,7 +28,7 @@ logging.basicConfig(filename=fname, level=LOGGING_LEVEL)
28import strippers # this is loaded here because we need LOGGING_LEVEL 28import strippers # this is loaded here because we need LOGGING_LEVEL
29 29
30 30
31def get_logo(): 31def get_logo(): # pragma: no cover
32 """ Return the path to the logo 32 """ Return the path to the logo
33 """ 33 """
34 if os.path.isfile(os.path.join(os.path.curdir, 'data/mat.png')): 34 if os.path.isfile(os.path.join(os.path.curdir, 'data/mat.png')):
@@ -39,7 +39,7 @@ def get_logo():
39 return '/usr/local/share/pixmaps/mat.png' 39 return '/usr/local/share/pixmaps/mat.png'
40 40
41 41
42def get_datafile_path(filename): 42def get_datafile_path(filename): # pragma: no cover
43 """ Return the path to $filename 43 """ Return the path to $filename
44 :param string filename: 44 :param string filename:
45 """ 45 """
@@ -50,7 +50,7 @@ def get_datafile_path(filename):
50 return filepath 50 return filepath
51 51
52 52
53def list_supported_formats(): 53def list_supported_formats(): # pragma: no cover
54 """ Return a list of all locally supported fileformat. 54 """ Return a list of all locally supported fileformat.
55 It parses that FORMATS file, and removes locally 55 It parses that FORMATS file, and removes locally
56 non-supported formats. 56 non-supported formats.
@@ -70,7 +70,7 @@ def list_supported_formats():
70 return localy_supported 70 return localy_supported
71 71
72 72
73class XMLParser(xml.sax.handler.ContentHandler): 73class XMLParser(xml.sax.handler.ContentHandler): # pragma: no cover
74 """ Parse the supported format xml, and return a corresponding 74 """ Parse the supported format xml, and return a corresponding
75 list of dict 75 list of dict
76 """ 76 """