diff options
author | Sam Wenham <sam@wenhams.co.uk> | 2019-03-02 14:10:51 +0000 |
---|---|---|
committer | Sam Wenham <sam@wenhams.co.uk> | 2019-03-02 14:10:51 +0000 |
commit | 6984f667947cc97a8c49626ee47537f3784010bb (patch) | |
tree | 005bf29b090fa033f99d459c362890e80384962c /imagekit/lib.py | |
parent | 6f42bd51e1d9c3aa56678e7539ffb8168cdcf006 (diff) | |
download | troggle-6984f667947cc97a8c49626ee47537f3784010bb.tar.gz troggle-6984f667947cc97a8c49626ee47537f3784010bb.tar.bz2 troggle-6984f667947cc97a8c49626ee47537f3784010bb.zip |
Updates required to move to django 1.8django-upgrade-pt2
Diffstat (limited to 'imagekit/lib.py')
-rw-r--r-- | imagekit/lib.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/imagekit/lib.py b/imagekit/lib.py deleted file mode 100644 index 65646a4..0000000 --- a/imagekit/lib.py +++ /dev/null @@ -1,17 +0,0 @@ -# Required PIL classes may or may not be available from the root namespace -# depending on the installation method used. -try: - import Image - import ImageFile - import ImageFilter - import ImageEnhance - import ImageColor -except ImportError: - try: - from PIL import Image - from PIL import ImageFile - from PIL import ImageFilter - from PIL import ImageEnhance - from PIL import ImageColor - except ImportError: - raise ImportError('ImageKit was unable to import the Python Imaging Library. Please confirm it`s installed and available on your current Python path.')
\ No newline at end of file |