Negligible comment formatting change in django/db/models/base.py (from [4881])

git-svn-id: http://code.djangoproject.com/svn/django/trunk@4893 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2007-04-01 05:25:03 +00:00
parent 018ece8dc8
commit 4e31a17e9e
1 changed files with 2 additions and 1 deletions

View File

@ -26,7 +26,8 @@ class ModelBase(type):
if not filter(lambda b: issubclass(b, Model), bases): if not filter(lambda b: issubclass(b, Model), bases):
return super(ModelBase, cls).__new__(cls, name, bases, attrs) return super(ModelBase, cls).__new__(cls, name, bases, attrs)
except NameError: except NameError:
# Model isn't defined yet, meaning we're looking at django's own Model defined below # 'Model' isn't defined yet, meaning we're looking at Django's own
# Model class, defined below.
return super(ModelBase, cls).__new__(cls, name, bases, attrs) return super(ModelBase, cls).__new__(cls, name, bases, attrs)
# Create the class. # Create the class.