Skip to content
Snippets Groups Projects
Commit d1cbd624 authored by vlorentz's avatar vlorentz
Browse files

Workaround mypy false positive

parent 31bcec60
Branches mypy-1.0
No related tags found
No related merge requests found
......@@ -74,7 +74,9 @@ class ScrubberDb(BaseDb):
""",
(dataclasses.asdict(datastore)),
)
(id_,) = cur.fetchone()
res = cur.fetchone()
assert res is not None
(id_,) = res
return id_
def corrupt_object_add(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment