Fix annotation errors

This commit is contained in:
Veronica Berglyd Olsen
2024-04-09 17:01:05 +02:00
parent 99c4b0acd0
commit c1154682b5
19 changed files with 60 additions and 44 deletions
+1 -1
View File
@@ -382,7 +382,7 @@ class BuildSettings:
postponed = []
def allowRoot(rHandle):
def allowRoot(rHandle: str | None) -> None:
if rHandle in postponed and rHandle in result and rHandle is not None:
result[rHandle] = (True, FilterMode.ROOT)
postponed.remove(rHandle)