Skip to content

Commit 049474a

Browse files
committed
Fix NameError
Fixes (#4)
1 parent fef6c54 commit 049474a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tornado_mysql/pools.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def begin(self):
112112
"""
113113
conn = yield self._get_conn()
114114
trx = Transaction(self, conn)
115-
raise gen.Return(trx)
115+
raise Return(trx)
116116

117117

118118
class Transaction(object):

0 commit comments

Comments
 (0)