don't see how ':=' should help here

This commit is contained in:
Martin Diehl 2021-02-19 07:04:34 +01:00
parent 7c6ce525a3
commit ab9661d951
1 changed files with 0 additions and 1 deletions

View File

@ -103,7 +103,6 @@ class ConfigMaterial(Config):
"""Check for completeness."""
ok = True
for top_level in ['homogenization','phase','material']:
# ToDo: With python 3.8 as prerequisite we can shorten with :=
ok &= top_level in self
if top_level not in self: print(f'{top_level} entry missing')