1
0
mirror of https://github.com/django/django.git synced 2025-06-05 11:39:13 +00:00

Style cleanup forgotten in second previous commit.

This commit is contained in:
Aymeric Augustin 2013-12-17 22:24:25 +01:00
parent 2bc89f83b3
commit 9bfdad5472

View File

@ -41,22 +41,21 @@ class AppCache(object):
self.master = master self.master = master
# Mapping of labels to AppConfig instances for installed apps. # Mapping of labels to AppConfig instances for installed apps.
self.app_configs=OrderedDict() self.app_configs = OrderedDict()
# Pending lookups for lazy relations # Pending lookups for lazy relations
self.pending_lookups={} self.pending_lookups = {}
# Set of app names. Allows restricting the set of installed apps. # Set of app names. Allows restricting the set of installed apps.
# Used by TransactionTestCase.available_apps for performance reasons. # 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 -- # -- Everything below here is only used when populating the cache --
self.loaded=False self.loaded = False
self.handled=set() self.handled = set()
self.postponed=[] self.postponed = []
self.nesting_level=0 self.nesting_level = 0
self._get_models_cache={} self._get_models_cache = {}
def populate(self): def populate(self):
""" """