flake8: apply all rest E7 rules
This commit is contained in:
parent
6ed30954b2
commit
f1ba6cefd7
24 changed files with 112 additions and 127 deletions
|
|
@ -105,7 +105,8 @@ class CursorWrapper:
|
|||
if hasattr(self.cursor, "mogrify"):
|
||||
quote = self.cursor.mogrify
|
||||
else:
|
||||
quote = lambda a, b: a % b
|
||||
def quote(a, b):
|
||||
return a % b
|
||||
try:
|
||||
return quote(operation, parameters)
|
||||
except Exception:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue