Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix transaction context for py2.7

  • Loading branch information...
commit 0d184fe2cf190b45f73e9d81d6bae0f9b4d91952 1 parent 0d6207c
@dag authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  flaskext/zodb.py
View
2  flaskext/zodb.py
@@ -151,7 +151,7 @@ def transaction(self):
"""
with closing(self.db.open()) as connection:
- with transaction:
+ with transaction.manager:
yield connection.root()
Please sign in to comment.
Something went wrong with that request. Please try again.