mirror of
https://github.com/aljazceru/plugins.git
synced 2025-12-19 22:24:19 +01:00
backup: nits assert without parentheses
This commit is contained in:
committed by
Christian Decker
parent
70c1f0a4ee
commit
6ab4d35003
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user