diff options
| author | jvoisin | 2012-12-16 15:24:38 +0100 |
|---|---|---|
| committer | jvoisin | 2012-12-16 15:24:38 +0100 |
| commit | 99f982f844aa75cfd895e16bc6f3dcac778e31ac (patch) | |
| tree | f69e8d6de77f5c349af31af69da99f14627e8aa4 /MAT/parser.py | |
| parent | d649c2ae14521159d0f6173c73ac5b903f30cd36 (diff) | |
Little readability improvement
Diffstat (limited to 'MAT/parser.py')
| -rw-r--r-- | MAT/parser.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/MAT/parser.py b/MAT/parser.py index d2eaf9c..4427b01 100644 --- a/MAT/parser.py +++ b/MAT/parser.py | |||
| @@ -9,16 +9,16 @@ import os | |||
| 9 | 9 | ||
| 10 | import mat | 10 | import mat |
| 11 | 11 | ||
| 12 | NOMETA = ('.bmp', '.rdf', '.txt', '.xml', '.rels') | 12 | NOMETA = ('.bmp', # image |
| 13 | #bmp : image | 13 | '.rdf', # text |
| 14 | #rdf : text | 14 | '.txt', # plain text |
| 15 | #txt : plain text | 15 | '.xml', # formated text (XML) |
| 16 | #xml : formated text | 16 | '.rels', # openXML formated text |
| 17 | #rels : openxml foramted text | 17 | ) |
| 18 | |||
| 19 | 18 | ||
| 20 | FIELD = object() | 19 | FIELD = object() |
| 21 | 20 | ||
| 21 | |||
| 22 | class GenericParser(object): | 22 | class GenericParser(object): |
| 23 | ''' | 23 | ''' |
| 24 | Parent class of all parsers | 24 | Parent class of all parsers |
