Skip to content

Commit

Permalink
Update connection.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Pliner authored Mar 22, 2021
1 parent 445096e commit d58f6a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiopg/sa/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ async def _savepoint_impl(self, name=None):

async def _rollback_to_savepoint_impl(self, name, parent):
if self._connection.closed:
self._transaction = None
self._transaction = parent
return

cur = await self._get_cursor()
Expand Down

0 comments on commit d58f6a8

Please sign in to comment.