summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMichaël Ball <michael.ball@gmail.com>2016-02-07 15:28:56 +0000
committerMichaël Ball <michael.ball@gmail.com>2016-07-15 07:15:13 +0100
commitcaa1c3ccdf94ee20140b3964aab0ad3058e03699 (patch)
tree12de8657e4fe4533a62c8693cb8cdaa90a74e27f /common
parentea4391ba43fab82b8f1fbf2f9ab939e60d5e0bc2 (diff)
Create test framework
Diffstat (limited to 'common')
-rw-r--r--common/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/utils.py b/common/utils.py
index a7489f9..efac527 100644
--- a/common/utils.py
+++ b/common/utils.py
@@ -53,7 +53,7 @@ def update_clause_from_dict(data):
try:
for key in data.keys():
- update_items.append("%s = :%s", (key, key))
+ update_items.append("%s = :%s" % (key, key))
if len(update_items) > 1:
update_clause = ", ".join(update_items)