/[packages]/updates/3/python-imaging/current/SOURCES/python-pillow-CVE-2014-1932-CVE-2014-1933.patch |
Parent Directory | Revision Log | Patch
revision 797641 by luigiwalser, Sun Mar 23 14:00:09 2014 UTC | revision 797642 by luigiwalser, Mon Nov 17 04:06:35 2014 UTC | |
---|---|---|
# | Line 38 index b93ce24..0d8a235 100644 | Line 38 index b93ce24..0d8a235 100644 |
38 | self.im.save_ppm(file) | self.im.save_ppm(file) |
39 | else: | else: |
40 | - file = file + "." + format | - file = file + "." + format |
41 | + if file.endswith(format): | + if not file.endswith(format): |
42 | + file = file + "." + format | + file = file + "." + format |
43 | self.save(file, format) | self.save(file, format) |
44 | return file | return file |
|
ViewVC Help | |
Powered by ViewVC 1.1.30 |