[Greater-commits] r346 - trunk/GREAT-ER/Greater/Modules

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Jul 1 13:03:44 CEST 2011


Author: aheinecke
Date: 2011-07-01 13:03:44 +0200 (Fri, 01 Jul 2011)
New Revision: 346

Modified:
   trunk/GREAT-ER/Greater/Modules/analysis.py
Log:
Range API changed setMin no longer accepts a range so we
set the range directly with setRange


Modified: trunk/GREAT-ER/Greater/Modules/analysis.py
===================================================================
--- trunk/GREAT-ER/Greater/Modules/analysis.py	2011-07-01 09:55:12 UTC (rev 345)
+++ trunk/GREAT-ER/Greater/Modules/analysis.py	2011-07-01 11:03:44 UTC (rev 346)
@@ -998,7 +998,7 @@
                 group.GetProperties().SetLineWidth(1 + i*4)
                 group.GetProperties().SetLineColor(color_list[i])
                 r = Range(range_list[i])
-                group.SetMin(r)
+                group.SetRange(r)
                 group.SetLabel(label_list[i])
             layer.SetClassification(clazz)
             map.AddLayer(layer)



More information about the Greater-commits mailing list