Skip to content

Commit

Permalink
Merge branch 'master' of github.com:05bit/peewee-async
Browse files Browse the repository at this point in the history
  • Loading branch information
rudyryk committed Aug 16, 2016
2 parents 298fa42 + a406f9b commit 98a3ed0
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 98a3ed0

Please sign in to comment.