diff options
| author | Jacob Kaplan-Moss <jacob@jacobian.org> | 2008-08-09 14:18:09 +0000 |
|---|---|---|
| committer | Jacob Kaplan-Moss <jacob@jacobian.org> | 2008-08-09 14:18:09 +0000 |
| commit | 750f5c8d464f79a5b502cf67b42e59196dc92742 (patch) | |
| tree | 525a329f4588e5dfeb31cd00867c702a1efbc66e /tests/regressiontests | |
| parent | 6a06db0491e4f0fac989dd7e633226e1b927274e (diff) | |
Fixed #8187: made PIL imports consistant. Thanks, bastih.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8257 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests')
| -rw-r--r-- | tests/regressiontests/file_storage/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/file_storage/models.py b/tests/regressiontests/file_storage/models.py index 8cd8b9e56c..df99045352 100644 --- a/tests/regressiontests/file_storage/models.py +++ b/tests/regressiontests/file_storage/models.py @@ -12,7 +12,7 @@ temp_storage = FileSystemStorage(tempfile.gettempdir()) try: # Checking for the existence of Image is enough for CPython, but # for PyPy, you need to check for the underlying modules - import Image, _imaging + from PIL import Image, _imaging except ImportError: Image = None |
