Remove unnecessary test

This commit is contained in:
Cédric Krier committed 2011-07-06 17:58:37 +02:00
1 parent 566351406d
commit 884863b48d
1 file changed
+1 -2
+1 -2
View File
@@ -291,8 +291,7 @@ class ModelSQL(ModelStorage):
continue
if inherits in tocreate:
tocreate[inherits][i] = values[i]
if i not in self._columns:
del values[i]
del values[i]
for inherits in tocreate:
inherits_obj = pool.get(inherits)