Merge pull request #4957 from radarhere/unused

This commit is contained in:
Hugo van Kemenade 2020-10-08 17:46:33 +03:00 committed by GitHub
commit 83f499a588
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 8 deletions

View File

@ -3285,7 +3285,7 @@ class Exif(MutableMapping):
return value
def _fixup_dict(self, src_dict):
# Helper function for _getexif()
# Helper function
# returns a dict with any single item tuples/lists as individual values
return {k: self._fixup(v) for k, v in src_dict.items()}

View File

@ -475,13 +475,6 @@ class JpegImageFile(ImageFile.ImageFile):
return _getmp(self)
def _fixup_dict(src_dict):
# Helper function for _getexif()
# returns a dict with any single item tuples/lists as individual values
exif = Image.Exif()
return exif._fixup_dict(src_dict)
def _getexif(self):
if "exif" not in self.info:
return None