Skip to content

Commit

Permalink
Correct class styles for Python 2.
Browse files Browse the repository at this point in the history
  • Loading branch information
Warren Smith committed Nov 24, 2016
1 parent ccb1b7e commit 95cd0fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions staticmodel/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def _get_index_search_results(cls, kwargs):
yield item


class StaticModelMemberManager:
class StaticModelMemberManager(object):
"""
Manager API for StaticModel instances.
Expand Down Expand Up @@ -359,9 +359,9 @@ def _values_list_item(item, attr_names):
values_list = partialmethod(_values_base, _values_list_item, allow_flat=True)


class StaticModel(six.with_metaclass(StaticModelMeta)):
class StaticModel(six.with_metaclass(StaticModelMeta), object):
"""
Base class for constant models.
Base class for static models.
"""
def __repr__(self):
return '<{}.{}: {}>'.format(
Expand Down

0 comments on commit 95cd0fb

Please sign in to comment.