Author: reinhard Date: 2009-11-25 03:34:57 -0600 (Wed, 25 Nov 2009) New Revision: 10054
Modified: trunk/gnue-common/src/datasources/drivers/file/Base.py Log: Fixed requery for file based dbdrivers. Modified: trunk/gnue-common/src/datasources/drivers/file/Base.py =================================================================== --- trunk/gnue-common/src/datasources/drivers/file/Base.py 2009-11-24 22:31:36 UTC (rev 10053) +++ trunk/gnue-common/src/datasources/drivers/file/Base.py 2009-11-25 09:34:57 UTC (rev 10054) @@ -159,7 +159,7 @@ def _requery_ (self, table, oldfields, fields): for row in self._getFile (table): found = True - for (fieldname, value) in oldfields: + for (fieldname, value) in oldfields.items(): if row.get (fieldname) != value: found = False if found: _______________________________________________ commit-gnue mailing list commit-gnue@gnu.org http://lists.gnu.org/mailman/listinfo/commit-gnue