Skip to content

Commit

Permalink
Merge pull request #31 from kammala/patch-1
Browse files Browse the repository at this point in the history
fixed database swapping for manager
  • Loading branch information
rudyryk committed Aug 3, 2016
2 parents ddb55e9 + 0ea439c commit a406f9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion peewee_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ def _swap_database(self, query):
def _subclassed(base, *classes):
"""Check if all classes are subclassed from base.
"""
return all(map(lambda obj, base: isinstance(obj, base), classes))
return all(map(lambda obj: isinstance(obj, base), classes))

@staticmethod
def _prune_fields(field_dict, only):
Expand Down

0 comments on commit a406f9b

Please sign in to comment.