#599: Import PIL as `from PIL import Image`.

This commit is contained in:
Georg Brandl 2011-01-15 11:43:36 +01:00
parent 25c61f0748
commit f36ca80765
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
Release 1.0.7 (in development) Release 1.0.7 (in development)
============================== ==============================
* #599: Import PIL as ``from PIL import Image``.
* #558: Fix longtables with captions in LaTeX output. * #558: Fix longtables with captions in LaTeX output.
* Make token references work as hyperlinks again in LaTeX output. * Make token references work as hyperlinks again in LaTeX output.

View File

@ -21,7 +21,7 @@ from sphinx.locale import admonitionlabels, versionlabels, _
from sphinx.util.smartypants import sphinx_smarty_pants from sphinx.util.smartypants import sphinx_smarty_pants
try: try:
import Image # check for the Python Imaging Library from PIL import Image # check for the Python Imaging Library
except ImportError: except ImportError:
Image = None Image = None