aboutsummaryrefslogtreecommitdiff
path: root/rpki/left_right.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2014-05-20 00:16:24 +0000
committerRob Austein <sra@hactrn.net>2014-05-20 00:16:24 +0000
commitd802ad11ce25f3e11e3c93ae6d6992f1be85b6ec (patch)
treef72657a3c4f1b87bb15b33310faddcb257a54577 /rpki/left_right.py
parent073ab401b43b9d51e79d70387b25e4cc6f8b01b7 (diff)
Clean up ancient singleton arguments to .execute(); MySQLdb used to
tolerate these, but seems not to like them anymore, at least not on MacOSX Mavericks with Homebrew's version of MySQL and MySQLdb. svn path=/trunk/; revision=5830
Diffstat (limited to 'rpki/left_right.py')
-rw-r--r--rpki/left_right.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpki/left_right.py b/rpki/left_right.py
index 2d46cdfa..5c1ae106 100644
--- a/rpki/left_right.py
+++ b/rpki/left_right.py
@@ -353,7 +353,7 @@ class self_elt(data_elt):
"""
Find a self object based on its self_handle.
"""
- return cls.sql_fetch_where1(gctx, "self_handle = %s", self_handle)
+ return cls.sql_fetch_where1(gctx, "self_handle = %s", (self_handle,))
def serve_fetch_all(self):
"""