From fd44a02a1ade59fd39c54635dfa7c9f5082ffbda Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Mon, 16 Jan 2006 23:44:16 +0000 Subject: [PATCH] magic-removal: Negligible spacing fixes git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2021 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/db/models/fields/__init__.py | 2 +- django/db/models/options.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/django/db/models/fields/__init__.py b/django/db/models/fields/__init__.py index 881bc31e1d..a2809de0dd 100644 --- a/django/db/models/fields/__init__.py +++ b/django/db/models/fields/__init__.py @@ -112,7 +112,7 @@ class Field(object): self.creation_counter = Field.creation_counter Field.creation_counter += 1 - def __cmp__(self,other ): + def __cmp__(self, other): # This is needed because bisect does not take a comparison function. return cmp(self.creation_counter, other.creation_counter) diff --git a/django/db/models/options.py b/django/db/models/options.py index f08ee5f501..42c5891abd 100644 --- a/django/db/models/options.py +++ b/django/db/models/options.py @@ -213,7 +213,6 @@ class Options: self._field_types[field_type] = False return self._field_types[field_type] - class AdminOptions: def __init__(self, fields=None, js=None, list_display=None, list_filter=None, date_hierarchy=None, save_as=False, ordering=None, search_fields=None, save_on_top=False, list_select_related=False):