Fix typo in test to select ids to read in BrowseRecord

This commit is contained in:
Cédric Krier
2009-08-27 20:59:24 +02:00
parent e1a4f404fd
commit 467238eba8
+1 -1
View File
@@ -135,7 +135,7 @@ class BrowseRecord(object):
ids = [x for x in self._data.keys() \
if not self._data[x].has_key(name) \
or not self._local_data.setdefault(x, {}).has_key(name)]
and not self._local_data.setdefault(x, {}).has_key(name)]
# read the data
datas = self._model.read(self._cursor, self._user, ids,
[x[0] for x in ffields], context=self._context)