From 10019a652f2894f8782cc9281c980edad701822a Mon Sep 17 00:00:00 2001 From: Alexandru DAMIAN Date: Mon, 28 Jul 2014 11:28:39 +0100 Subject: bitbake: toaster: fix application discovery in settings.py We fix application discovery, tuples don't have .append(). Other minor fixes. (Bitbake rev: a6f18aac3e6bb448d89a3425a2f756c6514ee595) Signed-off-by: Alexandru DAMIAN Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastermain/settings.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'bitbake/lib') diff --git a/bitbake/lib/toaster/toastermain/settings.py b/bitbake/lib/toaster/toastermain/settings.py index 09ec2bda98..a8b3e3a485 100644 --- a/bitbake/lib/toaster/toastermain/settings.py +++ b/bitbake/lib/toaster/toastermain/settings.py @@ -241,8 +241,6 @@ INSTALLED_APPS = ( 'django.contrib.humanize', 'orm', 'toastermain', - 'toastergui', - 'bldviewer', 'south', 'bldcontrol', ) @@ -261,7 +259,7 @@ currentdir = os.path.dirname(__file__) for t in os.walk(os.path.dirname(currentdir)): modulename = os.path.basename(t[0]) if ("views.py" in t[2] or "models.py" in t[2]) and not modulename in INSTALLED_APPS: - INSTALLED_APPS.append(modulename) + INSTALLED_APPS = INSTALLED_APPS + (modulename,) # A sample logging configuration. The only tangible logging # performed by this configuration is to send an email to -- cgit v1.2.3-54-g00ecf