Skip to content

Commit

Permalink
Merge pull request #1822 from radarhere/unused
Browse files Browse the repository at this point in the history
Remove unused imports
  • Loading branch information
hugovk committed Feb 26, 2017
2 parents 89b603d + b82151f commit cb34b68
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 20 deletions.
2 changes: 0 additions & 2 deletions PIL/Image.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
# See the README file for information on usage and redistribution.
#

from __future__ import print_function

from . import VERSION, PILLOW_VERSION, _plugins

import logging
Expand Down
2 changes: 0 additions & 2 deletions PIL/PcxImagePlugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions PIL/PngImagePlugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions PIL/PyAccess.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
# Access.c implementation.
#

from __future__ import print_function

import logging
import sys

Expand Down
2 changes: 0 additions & 2 deletions PIL/WalImageFile.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
# https://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

Expand Down
1 change: 0 additions & 1 deletion Tests/test_file_tiff.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from __future__ import print_function
import logging
from io import BytesIO
import struct
Expand Down
2 changes: 0 additions & 2 deletions Tests/test_file_tiff_metadata.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import division

import io
import struct

Expand Down
1 change: 0 additions & 1 deletion Tests/test_format_hsv.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from __future__ import print_function
from helper import unittest, PillowTestCase, hopper

from PIL import Image
Expand Down
2 changes: 0 additions & 2 deletions Tests/test_tiff_ifdrational.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import print_function

from helper import unittest, PillowTestCase, hopper

from PIL import TiffImagePlugin, Image
Expand Down
4 changes: 0 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
# All configuration values have a default; values that are commented out
# serve to show the default.

import sys
import os
import shlex

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
Expand Down

0 comments on commit cb34b68

Please sign in to comment.