Fixed typo.

This commit is contained in:
Tim Graham 2014-05-16 16:39:12 -04:00
parent 6bb6df2943
commit 1efb2e73bf
1 changed files with 1 additions and 1 deletions

View File

@ -300,7 +300,7 @@ class ModelBase(type):
cls.add_to_class(mgr_name, new_manager) cls.add_to_class(mgr_name, new_manager)
def add_to_class(cls, name, value): def add_to_class(cls, name, value):
# We should call the contirbute_to_class method only if it's bound # We should call the contribute_to_class method only if it's bound
if not inspect.isclass(value) and hasattr(value, 'contribute_to_class'): if not inspect.isclass(value) and hasattr(value, 'contribute_to_class'):
value.contribute_to_class(cls, name) value.contribute_to_class(cls, name)
else: else: