From 9bfdad5472659992a657708a8ec8f07e6b18f061 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Tue, 17 Dec 2013 22:24:25 +0100 Subject: [PATCH] Style cleanup forgotten in second previous commit. --- django/core/apps/cache.py | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/django/core/apps/cache.py b/django/core/apps/cache.py index d04d6c59a4..b076fc1968 100644 --- a/django/core/apps/cache.py +++ b/django/core/apps/cache.py @@ -41,22 +41,21 @@ class AppCache(object): self.master = master # Mapping of labels to AppConfig instances for installed apps. - self.app_configs=OrderedDict() + self.app_configs = OrderedDict() # Pending lookups for lazy relations - self.pending_lookups={} + self.pending_lookups = {} # Set of app names. Allows restricting the set of installed apps. # Used by TransactionTestCase.available_apps for performance reasons. - self.available_apps=None + self.available_apps = None # -- Everything below here is only used when populating the cache -- - self.loaded=False - self.handled=set() - self.postponed=[] - self.nesting_level=0 - self._get_models_cache={} - + self.loaded = False + self.handled = set() + self.postponed = [] + self.nesting_level = 0 + self._get_models_cache = {} def populate(self): """