mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-01 04:56:45 +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…
x
Reference in New Issue
Block a user