summaryrefslogtreecommitdiff
path: root/common/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'common/utils.py')
-rw-r--r--common/utils.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/utils.py b/common/utils.py
index efac527..f1134a7 100644
--- a/common/utils.py
+++ b/common/utils.py
@@ -15,11 +15,11 @@ def make_where_clause(params, join_operator="AND"):
condition_subphrase = ""
if operator == "BETWEEN":
- condition_subphrase = " ".join(("%s", operator,
- ":%s1 AND :%s2"))
+ condition_subphrase = " ".join(
+ ("%s", operator, ":%s1 AND :%s2"))
- where_items.append(condition_subphrase % (column, column,
- column))
+ where_items.append(condition_subphrase %
+ (column, column, column))
else:
condition_subphrase = " ".join(("%s", operator, ":%s"))