projects
/
cyql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3027147
)
Fix set(): it needs to skip @contextmanager.
author
Jay Freeman (saurik)
<saurik@saurik.com>
Mon, 4 Jun 2012 19:43:10 +0000
(19:43 +0000)
committer
Jay Freeman (saurik)
<saurik@saurik.com>
Mon, 4 Jun 2012 19:43:10 +0000
(19:43 +0000)
__init__.py
patch
|
blob
|
blame
|
history
diff --git
a/__init__.py
b/__init__.py
index bc205292e79719b98b91b5460204f423cb30602a..f4e6b9fe4773ffd780b564e20314a0cf222217c5 100644
(file)
--- 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):