This commit is contained in:
Florian Bruhin 2021-01-20 14:41:30 +01:00
parent 2c382a761d
commit 65c948d1e8
1 changed files with 1 additions and 1 deletions

View File

@ -608,7 +608,7 @@ class ConfigContainer:
# "c.content.host_blocking" doesn't actually exist. To avoid an AttributeError
# which leads to a confusing error message, return another ConfigContainer so
# that the chain can keep going.
return self._with_prefix(name)
return self._with_prefix(name) # type: ignore[unreachable]
def __setattr__(self, attr: str, value: Any) -> None:
"""Set the given option in the config."""