[Thuban-commits] r2903 - trunk/thuban/Thuban/Model
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Fri Jul 15 15:01:48 CEST 2011
Author: bricks
Date: 2011-07-15 15:01:48 +0200 (Fri, 15 Jul 2011)
New Revision: 2903
Modified:
trunk/thuban/Thuban/Model/resource.py
Log:
Better debug output while initialization
Modified: trunk/thuban/Thuban/Model/resource.py
===================================================================
--- trunk/thuban/Thuban/Model/resource.py 2011-07-15 12:58:44 UTC (rev 2902)
+++ trunk/thuban/Thuban/Model/resource.py 2011-07-15 13:01:48 UTC (rev 2903)
@@ -41,9 +41,10 @@
osgeo_gdal_version = False
for _module in ("gdalwarp", "osgeo.gdal"):
try:
- print "importing %s" % _module
+ print "trying to import %s" % _module
__import__(_module)
except ImportError, val:
+ print "%s not available" % _module
gdal_support_status = (_("No GDAL support because module '%s'"
" cannot be imported. Python exception: '%s'")
% (_module, str(val)))
More information about the Thuban-commits
mailing list