mypy: fix new warnings due to external type updates

This commit is contained in:
Sarah Hoffmann
2022-09-05 17:38:48 +02:00
parent ae5687539a
commit 185c3cf7a8
3 changed files with 4 additions and 3 deletions

View File

@@ -268,7 +268,7 @@ def check_database_index_valid(conn: Connection, _: Configuration) -> CheckResul
WHERE pg_index.indisvalid = false
AND pg_index.indexrelid = pg_class.oid""")
broken = list(cur)
broken = [c[0] for c in cur]
if broken:
return CheckState.FAIL, dict(indexes='\n '.join(broken))