From 35e48155e3bf0f206d8483a9bd09fb61a2beeb21 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Mon, 4 Jun 2012 19:43:10 +0000 Subject: [PATCH] Fix set(): it needs to skip @contextmanager. --- __init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__init__.py b/__init__.py index bc20529..f4e6b9f 100644 --- a/__init__.py +++ b/__init__.py @@ -153,7 +153,7 @@ class connect(object): @contextmanager def set(self, statement): - with self.execute(statement, 1) as cursor: + with self.execute(statement, 2) as cursor: yield cursor def all(self, statement, context=None): -- 2.45.2