aboutsummaryrefslogtreecommitdiff
path: root/rpki/publication.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/publication.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/publication.py')
-rw-r--r--rpki/publication.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpki/publication.py b/rpki/publication.py
index 2462ae39..0c3c5a10 100644
--- a/rpki/publication.py
+++ b/rpki/publication.py
@@ -170,7 +170,7 @@ class client_elt(control_elt):
Find the client object on which a get, set, or destroy method
should operate, or which would conflict with a create method.
"""
- return self.sql_fetch_where1(self.gctx, "client_handle = %s", self.client_handle)
+ return self.sql_fetch_where1(self.gctx, "client_handle = %s", (self.client_handle,))
def serve_fetch_all(self):
"""