From 85cc21b5639b14a243768fd4c4d161004c04bad3 Mon Sep 17 00:00:00 2001 From: Hugo Date: Thu, 7 Mar 2019 13:22:14 +0100 Subject: [PATCH 1/3] Update src/PIL/MpoImagePlugin.py Co-Authored-By: Glandos --- src/PIL/MpoImagePlugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PIL/MpoImagePlugin.py b/src/PIL/MpoImagePlugin.py index 216ed9fbc..5b606b345 100644 --- a/src/PIL/MpoImagePlugin.py +++ b/src/PIL/MpoImagePlugin.py @@ -100,7 +100,7 @@ class MpoImageFile(JpegImagePlugin.JpegImageFile): @staticmethod def adopt(jpeg_instance, mpheader=None): - ''' + """ Transform the instance of JpegImageFile into instance of MpoImageFile. After the call, the JpegImageFile is extended From d0172a08ddfb65860fef917a020e12069a2be653 Mon Sep 17 00:00:00 2001 From: Hugo Date: Thu, 7 Mar 2019 13:22:20 +0100 Subject: [PATCH 2/3] Update src/PIL/MpoImagePlugin.py Co-Authored-By: Glandos --- src/PIL/MpoImagePlugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PIL/MpoImagePlugin.py b/src/PIL/MpoImagePlugin.py index 5b606b345..7ea1018bc 100644 --- a/src/PIL/MpoImagePlugin.py +++ b/src/PIL/MpoImagePlugin.py @@ -109,7 +109,7 @@ class MpoImageFile(JpegImagePlugin.JpegImageFile): This is essentially useful when opening a JPEG file that reveals itself as an MPO, to avoid double call to _open. - ''' + """ jpeg_instance.__class__ = MpoImageFile jpeg_instance._after_jpeg_open(mpheader) return jpeg_instance From dbf65b0890a82042389755d6aa061b79616cac0b Mon Sep 17 00:00:00 2001 From: Andrew Murray <3112309+radarhere@users.noreply.github.com> Date: Sat, 23 Mar 2019 22:11:32 +0100 Subject: [PATCH 3/3] Update src/PIL/MpoImagePlugin.py Co-Authored-By: Glandos --- src/PIL/MpoImagePlugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PIL/MpoImagePlugin.py b/src/PIL/MpoImagePlugin.py index 7ea1018bc..a55cce2ec 100644 --- a/src/PIL/MpoImagePlugin.py +++ b/src/PIL/MpoImagePlugin.py @@ -102,7 +102,7 @@ class MpoImageFile(JpegImagePlugin.JpegImageFile): def adopt(jpeg_instance, mpheader=None): """ Transform the instance of JpegImageFile into - instance of MpoImageFile. + an instance of MpoImageFile. After the call, the JpegImageFile is extended to be an MpoImageFile.