From 1e22734012e20479aab7682a9fccf54281defd7b Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 19 Jan 2011 16:14:33 +0000 Subject: [PATCH] Support arguments to cyql.transact(). --- __init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/__init__.py b/__init__.py index 8102167..ef0fe1d 100644 --- a/__init__.py +++ b/__init__.py @@ -120,9 +120,9 @@ def connected(dsn): return wrapped @contextmanager -def transact(dsn, **args): +def transact(dsn, *args, **kw): with connect(dsn) as connection: - with connection.transact(**args): + with connection.transact(*args, **kw): yield connection """ -- 2.45.2