summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastermain/settings.py
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-12-02 10:02:50 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-07 17:37:10 +0000
commit4c1e5ec29ace325d03a5a1386e384201a00f15cf (patch)
treeeafadc88924ac99464de68d1ab2108808cec41d0 /bitbake/lib/toaster/toastermain/settings.py
parent990289511b7dc56580f2cecdda75fa14f436966d (diff)
downloadpoky-4c1e5ec29ace325d03a5a1386e384201a00f15cf.tar.gz
bitbake: toaster: remove usage of BUILD_MODE variable
As both modes can be used at the same time we can't have any difference in UI between modes. Removed all conditional statements that used BUILD_MODE. (Bitbake rev: 4ce1559c2558bd0fd278ff02a1a93bec03c4156b) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: brian avery <avery.brian@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastermain/settings.py')
-rw-r--r--bitbake/lib/toaster/toastermain/settings.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/toastermain/settings.py b/bitbake/lib/toaster/toastermain/settings.py
index b28ddb2b0d..de686b2edc 100644
--- a/bitbake/lib/toaster/toastermain/settings.py
+++ b/bitbake/lib/toaster/toastermain/settings.py
@@ -92,9 +92,6 @@ if 'DATABASE_URL' in os.environ:
92 else: 92 else:
93 raise Exception("FIXME: Please implement missing database url schema for url: %s" % dburl) 93 raise Exception("FIXME: Please implement missing database url schema for url: %s" % dburl)
94 94
95BUILD_MODE = False
96if 'TOASTER_MANAGED' in os.environ and os.environ['TOASTER_MANAGED'] == "1":
97 BUILD_MODE = True
98 95
99# Allows current database settings to be exported as a DATABASE_URL environment variable value 96# Allows current database settings to be exported as a DATABASE_URL environment variable value
100 97