bh: thuban/Thuban/UI classgen.py,1.30.2.1,1.30.2.2

cvs@intevation.de cvs at intevation.de
Thu Apr 22 17:52:15 CEST 2004


Author: bh

Update of /thubanrepository/thuban/Thuban/UI
In directory doto:/tmp/cvs-serv10693/Thuban/UI

Modified Files:
      Tag: thuban-1-0-branch
	classgen.py 
Log Message:
* Thuban/UI/classgen.py (GenQuantilesPanel.GetList): The row
numbers given to ReadValue are ordinals. Backport from HEAD


Index: classgen.py
===================================================================
RCS file: /thubanrepository/thuban/Thuban/UI/classgen.py,v
retrieving revision 1.30.2.1
retrieving revision 1.30.2.2
diff -u -d -r1.30.2.1 -r1.30.2.2
--- classgen.py	22 Apr 2004 15:48:02 -0000	1.30.2.1
+++ classgen.py	22 Apr 2004 15:52:13 -0000	1.30.2.2
@@ -1,4 +1,4 @@
-# Copyright (c) 2003 by Intevation GmbH
+# Copyright (c) 2003, 2004 by Intevation GmbH
 # Authors:
 # Jonathan Coles <jonathan at intevation.de>
 #
@@ -878,7 +878,8 @@
                 # has been written to get all the values
                 #
                 for i in range(table.NumRows()):
-                    _list.append(table.ReadValue(i, self.fieldName))
+                    _list.append(table.ReadValue(i, self.fieldName,
+                                                 row_is_ordinal = True)
             finally:
                 ThubanEndBusyCursor()
 





More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)