backup: nits assert without parentheses

This commit is contained in:
Michael Schmoock
2022-12-27 16:25:48 +01:00
committed by Christian Decker
parent 70c1f0a4ee
commit 6ab4d35003
7 changed files with 44 additions and 47 deletions

View File

@@ -93,7 +93,7 @@ class Backend(object):
return stmt
def _restore_transaction(self, tx: Iterator[str]):
assert(self.db)
assert self.db
cur = self.db.cursor()
for q in tx:
q = self._rewrite_stmt(q)