From: Jay Freeman (saurik) Date: Tue, 12 Oct 2010 08:06:04 +0000 (+0000) Subject: Handle exists() with format arguments. X-Git-Url: https://git.saurik.com/cyql.git/commitdiff_plain/77034649a12bfc857886558935a404499e2105fe Handle exists() with format arguments. --- diff --git a/__init__.py b/__init__.py index 0883b3a..10383d3 100644 --- a/__init__.py +++ b/__init__.py @@ -70,7 +70,7 @@ class transaction(object): select exists ( {statement} ) - ''')[0] + '''.format(**locals()), 1)[0] @contextmanager def connect(dsn):