From 6dddef9b9171e4b37a2704fd355444240824ce18 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Fri, 27 Jan 2006 16:08:54 +0000 Subject: [PATCH] magic-removal: Negligible spacing change to db.models.manager git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2135 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/db/models/manager.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/django/db/models/manager.py b/django/db/models/manager.py index b69ad15935..9bc3ab1b62 100644 --- a/django/db/models/manager.py +++ b/django/db/models/manager.py @@ -44,9 +44,8 @@ class Manager(object): self.klass = klass dispatcher.connect(self._prepare, signal=signals.class_prepared, sender=klass) setattr(klass, name, ManagerDescriptor(self)) - if not hasattr(klass, '_default_manager') or \ - self.creation_counter < klass._default_manager.creation_counter: - klass._default_manager = self + if not hasattr(klass, '_default_manager') or self.creation_counter < klass._default_manager.creation_counter: + klass._default_manager = self def _get_sql_clause(self, allow_joins, *args, **kwargs): def quote_only_if_word(word):