diff options
| author | jvoisin | 2011-07-26 14:06:38 +0200 |
|---|---|---|
| committer | jvoisin | 2011-07-26 14:06:38 +0200 |
| commit | e62ae6a87f630cbd389cf1b75672b06cd56973c8 (patch) | |
| tree | 5433e5bde0d0448795626190f8014c61b38ac1c5 /lib/images.py | |
| parent | f6e3d57173604dab7228c830e84415ead02e169b (diff) | |
Pyflakes and pep8 validation
Diffstat (limited to 'lib/images.py')
| -rw-r--r-- | lib/images.py | 4 |
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 @@ | |||
| 1 | import parser | 1 | import parser |
| 2 | 2 | ||
| 3 | class BmpStripper(parser.Generic_parser): | ||
| 4 | def _should_remove(self, field): | ||
| 5 | return False | ||
| 6 | 3 | ||
| 7 | class JpegStripper(parser.Generic_parser): | 4 | class 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 | |||
| 16 | class PngStripper(parser.Generic_parser): | 14 | class 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["): |
