summaryrefslogtreecommitdiff
path: root/lib/images.py
diff options
context:
space:
mode:
authorjvoisin2011-07-26 14:06:38 +0200
committerjvoisin2011-07-26 14:06:38 +0200
commite62ae6a87f630cbd389cf1b75672b06cd56973c8 (patch)
tree5433e5bde0d0448795626190f8014c61b38ac1c5 /lib/images.py
parentf6e3d57173604dab7228c830e84415ead02e169b (diff)
Pyflakes and pep8 validation
Diffstat (limited to 'lib/images.py')
-rw-r--r--lib/images.py4
1 files changed, 1 insertions, 3 deletions
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 @@
1import parser 1import parser
2 2
3class BmpStripper(parser.Generic_parser):
4 def _should_remove(self, field):
5 return False
6 3
7class JpegStripper(parser.Generic_parser): 4class JpegStripper(parser.Generic_parser):
8 def _should_remove(self, field): 5 def _should_remove(self, field):
@@ -13,6 +10,7 @@ class JpegStripper(parser.Generic_parser):
13 else: 10 else:
14 return False 11 return False
15 12
13
16class PngStripper(parser.Generic_parser): 14class PngStripper(parser.Generic_parser):
17 def _should_remove(self, field): 15 def _should_remove(self, field):
18 if field.name.startswith("text["): 16 if field.name.startswith("text["):