Skip to content

Commit

Permalink
Fix python2 compatibility regression
Browse files Browse the repository at this point in the history
  • Loading branch information
epandurski committed Feb 19, 2019
1 parent 7307c51 commit c0302b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_signalbus/atomic.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class CustomSQLAlchemy(AtomicProceduresMixin, SQLAlchemy):
def apply_driver_hacks(self, app, info, options):
if info.drivername != 'sqlite' and "isolation_level" not in options:
options["isolation_level"] = "REPEATABLE_READ"
return super().apply_driver_hacks(app, info, options)
return super(AtomicProceduresMixin, self).apply_driver_hacks(app, info, options)

def make_declarative_base(self, model, *args, **kwargs):
class model(_ModelUtilitiesMixin, model):
Expand Down

0 comments on commit c0302b8

Please sign in to comment.