mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
simpler return definition
This commit is contained in:
parent
91e7c05352
commit
41cf721907
@ -47,7 +47,7 @@ class MixinBase:
|
|||||||
if not with_base and 'base' in mixins:
|
if not with_base and 'base' in mixins:
|
||||||
del mixins['base']
|
del mixins['base']
|
||||||
# only return dict
|
# only return dict
|
||||||
mixins = [a for a in mixins.values()]
|
mixins = mixins.values()
|
||||||
return mixins
|
return mixins
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user