diff options
| author | jvoisin | 2011-07-26 15:14:48 +0200 |
|---|---|---|
| committer | jvoisin | 2011-07-26 15:14:48 +0200 |
| commit | 962e9aec5ffcdaae39e06f277dd47d1943205c37 (patch) | |
| tree | 85d57c245f010579dc3eb9199fe3ed6e379e96d8 /lib/parser.py | |
| parent | 7c9edd6514854f707b87e150a1ffa327ebd8dcac (diff) | |
Bugfixes (especially for pdf), and more pylint conformity
Diffstat (limited to 'lib/parser.py')
| -rw-r--r-- | lib/parser.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/parser.py b/lib/parser.py index 28e0849..ae647fe 100644 --- a/lib/parser.py +++ b/lib/parser.py | |||
| @@ -12,7 +12,7 @@ import mat | |||
| 12 | NOMETA = ('.bmp', 'html', '.py', '.rdf', '.txt', '.xml') | 12 | NOMETA = ('.bmp', 'html', '.py', '.rdf', '.txt', '.xml') |
| 13 | 13 | ||
| 14 | 14 | ||
| 15 | class Generic_parser(object): | 15 | class GenericParser(object): |
| 16 | def __init__(self, realname, filename, parser, editor, backup, | 16 | def __init__(self, realname, filename, parser, editor, backup, |
| 17 | add2archive): | 17 | add2archive): |
| 18 | basename, ext = os.path.splitext(filename) | 18 | basename, ext = os.path.splitext(filename) |
| @@ -78,7 +78,7 @@ class Generic_parser(object): | |||
| 78 | return True if the field is compromizing | 78 | return True if the field is compromizing |
| 79 | abstract method | 79 | abstract method |
| 80 | ''' | 80 | ''' |
| 81 | raise NotImplementedError() | 81 | raise NotImplementedError |
| 82 | 82 | ||
| 83 | def do_backup(self): | 83 | def do_backup(self): |
| 84 | ''' | 84 | ''' |
