[GRASS-SVN] r58943 - grass/branches/develbranch_6/gui/wxpython/psmap

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


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

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

Modified: grass/branches/develbranch_6/gui/wxpython/psmap/utils.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/psmap/utils.py	2014-02-07 21:12:11 UTC (rev 58942)
+++ grass/branches/develbranch_6/gui/wxpython/psmap/utils.py	2014-02-07 21:42:03 UTC (rev 58943)
@@ -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