From: Jay Freeman (saurik) Date: Mon, 4 Jun 2012 19:43:10 +0000 (+0000) Subject: Fix set(): it needs to skip @contextmanager. X-Git-Url: https://git.saurik.com/cyql.git/commitdiff_plain/35e48155e3bf0f206d8483a9bd09fb61a2beeb21?hp=3027147aaf2894a3e4293d67277fd9b1b4bea119 Fix set(): it needs to skip @contextmanager. --- 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):