[GRASS-SVN] r58944 - grass/branches/releasebranch_6_4/gui/wxpython/psmap

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Feb 7 13:42:11 PST 2014


Author: neteler
Date: 2014-02-07 13:42:11 -0800 (Fri, 07 Feb 2014)
New Revision: 58944

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/psmap/utils.py
Log:
wxGUI/psmap: update PIL import for pillow (backport from trunk, r58940)

Modified: grass/branches/releasebranch_6_4/gui/wxpython/psmap/utils.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/psmap/utils.py	2014-02-07 21:42:03 UTC (rev 58943)
+++ grass/branches/releasebranch_6_4/gui/wxpython/psmap/utils.py	2014-02-07 21:42:11 UTC (rev 58944)
@@ -21,7 +21,7 @@
 from math import ceil, floor, sin, cos, pi
 
 try:
-    import Image as PILImage
+    from PIL import Image as PILImage
     havePILImage = True
 except ImportError:
     havePILImage = False



More information about the grass-commit mailing list