From e62ae6a87f630cbd389cf1b75672b06cd56973c8 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Tue, 26 Jul 2011 14:06:38 +0200 Subject: Pyflakes and pep8 validation --- lib/images.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib/images.py') diff --git a/lib/images.py b/lib/images.py index 4441b70..bab0bfb 100644 --- a/lib/images.py +++ b/lib/images.py @@ -1,8 +1,5 @@ import parser -class BmpStripper(parser.Generic_parser): - def _should_remove(self, field): - return False class JpegStripper(parser.Generic_parser): def _should_remove(self, field): @@ -13,6 +10,7 @@ class JpegStripper(parser.Generic_parser): else: return False + class PngStripper(parser.Generic_parser): def _should_remove(self, field): if field.name.startswith("text["): -- cgit v1.3