Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix typo

  • Loading branch information...
commit 69c7c1198cd2b3f58e6890b6f4b8b799bb8ac090 1 parent 2bd0313
@amol- amol- authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tgext/crud/decorators.py
View
2  tgext/crud/decorators.py
@@ -110,7 +110,7 @@ def wrapper(func, self, *args, **kwargs):
if isinstance(e, sqla_errors):
#if the error is a sqlalchemy error suppose we need to rollback the transaction
#so that the error handler can perform queries.
- if transactio is not None and config.get('tgext.crud.abort_transactions', False):
+ if transaction is not None and config.get('tgext.crud.abort_transactions', False):
#This is in case we need to support multiple databases or two phase commit.
transaction.abort()
else:
Please sign in to comment.
Something went wrong with that request. Please try again.