From 962e9aec5ffcdaae39e06f277dd47d1943205c37 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Tue, 26 Jul 2011 15:14:48 +0200 Subject: Bugfixes (especially for pdf), and more pylint conformity --- lib/images.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'lib/images.py') diff --git a/lib/images.py b/lib/images.py index bab0bfb..df3d256 100644 --- a/lib/images.py +++ b/lib/images.py @@ -1,7 +1,10 @@ import parser -class JpegStripper(parser.Generic_parser): +class JpegStripper(parser.GenericParser): + ''' + Represents a .jpeg file + ''' def _should_remove(self, field): if field.name.startswith('comment'): return True @@ -11,7 +14,10 @@ class JpegStripper(parser.Generic_parser): return False -class PngStripper(parser.Generic_parser): +class PngStripper(parser.GenericParser): + ''' + Represents a .png file + ''' def _should_remove(self, field): if field.name.startswith("text["): return True -- cgit v1.3