simpler return definition

This commit is contained in:
Matthias 2021-09-25 01:31:08 +02:00
parent 91e7c05352
commit 41cf721907
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -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