[Greater-commits] r443 - trunk/GREAT-ER/Greater/UI
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Jul 14 11:15:50 CEST 2011
Author: aheinecke
Date: 2011-07-14 11:15:50 +0200 (Thu, 14 Jul 2011)
New Revision: 443
Modified:
trunk/GREAT-ER/Greater/UI/mainwindow.py
Log:
Gdal is only optional in GREATER so the import can not be hard
Also import PIL.Image instead of image
Modified: trunk/GREAT-ER/Greater/UI/mainwindow.py
===================================================================
--- trunk/GREAT-ER/Greater/UI/mainwindow.py 2011-07-13 15:02:15 UTC (rev 442)
+++ trunk/GREAT-ER/Greater/UI/mainwindow.py 2011-07-14 09:15:50 UTC (rev 443)
@@ -32,9 +32,8 @@
import Greater.version
import SciParam.version
import numpy.version
-import Image
+import PIL.Image
import twisted.copyright
-import osgeo.gdal
import reportlab
from wxPython.wx import __version__ as wxPython_version
@@ -159,7 +158,6 @@
" %s\n"\
" %s\n"\
" %s\n"\
- " %s\n"\
% (Greater.version.longversion,
greater_model_version,
api_version[0], api_version[1],
@@ -170,7 +168,6 @@
"NumPy %s" % numpy.version.version,
"Python Image Library %s" % Image.VERSION,
"%s" % twisted.copyright.longversion,
- "Gdal %s" % osgeo.gdal.__version__,
"Reportlab %s" % reportlab.Version,
)
More information about the Greater-commits
mailing list