diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-17 22:24:25 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-17 22:24:25 +0100 |
| commit | 9bfdad5472659992a657708a8ec8f07e6b18f061 (patch) | |
| tree | b13e5f20b99b4a4332dfd8b299023bdadfdda6f2 | |
| parent | 2bc89f83b31a5d23e67dd3d4f0d70d0c91279b9f (diff) | |
Style cleanup forgotten in second previous commit.
| -rw-r--r-- | django/core/apps/cache.py | 17 |
1 files 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): """ |
