From 97a2d42dacdde77e50eba95ccfeb19d114ead9bc Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Fri, 7 Oct 2016 21:39:14 +1100 Subject: [PATCH] Removed unused print_function imports --- PIL/PcxImagePlugin.py | 2 -- PIL/PngImagePlugin.py | 2 -- PIL/PyAccess.py | 2 -- PIL/WalImageFile.py | 2 -- Tests/test_file_tiff.py | 1 - Tests/test_tiff_ifdrational.py | 2 -- 6 files changed, 11 deletions(-) diff --git a/PIL/PcxImagePlugin.py b/PIL/PcxImagePlugin.py index e3c008f4f..ef89a1907 100644 --- a/PIL/PcxImagePlugin.py +++ b/PIL/PcxImagePlugin.py @@ -25,8 +25,6 @@ # See the README file for information on usage and redistribution. # -from __future__ import print_function - import logging from . import Image, ImageFile, ImagePalette from ._binary import i8, i16le as i16, o8, o16le as o16 diff --git a/PIL/PngImagePlugin.py b/PIL/PngImagePlugin.py index dca8a456e..caa786b85 100644 --- a/PIL/PngImagePlugin.py +++ b/PIL/PngImagePlugin.py @@ -31,8 +31,6 @@ # See the README file for information on usage and redistribution. # -from __future__ import print_function - import logging import re import zlib diff --git a/PIL/PyAccess.py b/PIL/PyAccess.py index 8b67a8ea2..58d20ca38 100644 --- a/PIL/PyAccess.py +++ b/PIL/PyAccess.py @@ -20,8 +20,6 @@ # Access.c implementation. # -from __future__ import print_function - import logging import sys diff --git a/PIL/WalImageFile.py b/PIL/WalImageFile.py index a17238a5a..95bedbfaf 100644 --- a/PIL/WalImageFile.py +++ b/PIL/WalImageFile.py @@ -21,8 +21,6 @@ # http://www.flipcode.com/archives/Quake_2_BSP_File_Format.shtml # and has been tested with a few sample files found using google. -from __future__ import print_function - from . import Image from ._binary import i32le as i32 diff --git a/Tests/test_file_tiff.py b/Tests/test_file_tiff.py index bf19947a1..5f81f36b3 100644 --- a/Tests/test_file_tiff.py +++ b/Tests/test_file_tiff.py @@ -1,4 +1,3 @@ -from __future__ import print_function import logging from io import BytesIO import struct diff --git a/Tests/test_tiff_ifdrational.py b/Tests/test_tiff_ifdrational.py index ffd4f9eac..54f330ec3 100644 --- a/Tests/test_tiff_ifdrational.py +++ b/Tests/test_tiff_ifdrational.py @@ -1,5 +1,3 @@ -from __future__ import print_function - from helper import unittest, PillowTestCase, hopper from PIL import TiffImagePlugin, Image