flake8: apply all rest E7 rules

This commit is contained in:
Yuming Zhu 2020-02-26 04:49:48 +08:00
parent 6ed30954b2
commit f1ba6cefd7
24 changed files with 112 additions and 127 deletions

View file

@ -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: