0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01: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
# 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):
"""