diff dataset.py @ 136:fa752c55aa09

typo
author Frederic Bastien <bastienf@iro.umontreal.ca>
date Wed, 07 May 2008 16:26:28 -0400
parents 7d8b3d6dd4e9
children 488ad6398b12
line wrap: on
line diff
--- a/dataset.py	Wed May 07 16:22:28 2008 -0400
+++ b/dataset.py	Wed May 07 16:26:28 2008 -0400
@@ -774,7 +774,7 @@
             datasets=set([])
             fields_in_dataset=dict([(dataset,[]) for dataset in datasets])
             for fieldname in fieldnames:
-                dataset=self.datasets[self.fieldnames2dataset[fieldname]]
+                dataset=self.datasets[self.fieldname2dataset[fieldname]]
                 datasets.add(dataset)
                 fields_in_dataset[dataset].append(fieldname)
             datasets=list(datasets)