Remove unnecessary test
This commit is contained in:
1 parent
566351406d
commit
884863b48d
1 file changed
+1
-2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user