return tuple instead of list

This commit is contained in:
?ngel ?lvarez 2017-10-19 19:30:18 +02:00
parent 500f933c14
commit aa7fc4ca05
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ diff -r e0ba9bd8f739 trytond/model/modelstorage.py
+ data = kwargs
+ ids.append(id)
+ models.append(Model(id, **data))
+ return models
+ return tuple(models)
model2ids = {}
model2cache = {}