--- MPIWGWeb/MPIWGProjects.py 2007/05/02 18:32:45 1.47.2.76 +++ MPIWGWeb/MPIWGProjects.py 2007/05/02 18:38:41 1.47.2.77 @@ -340,7 +340,7 @@ class MPIWGRoot(ZSQLExtendFolder): def getat(self,array,idx=0,default=None): """return array element idx or default (but no exception)""" - if len(array) < idx: + if len(array) <= idx: return default else: return array[idx]