diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-12-02 10:02:50 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-07 17:22:59 +0000 |
commit | 4ce1559c2558bd0fd278ff02a1a93bec03c4156b (patch) | |
tree | a5d8c2c721e13bc2efd874152f82c70e91a3f3d2 /lib/toaster/toastermain/settings.py | |
parent | e69c87c7842e796ffcd7193ecde22c8f688498f5 (diff) | |
download | bitbake-contrib-4ce1559c2558bd0fd278ff02a1a93bec03c4156b.tar.gz |
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.
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 'lib/toaster/toastermain/settings.py')
-rw-r--r-- | lib/toaster/toastermain/settings.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/toaster/toastermain/settings.py b/lib/toaster/toastermain/settings.py index b28ddb2b0..de686b2ed 100644 --- a/lib/toaster/toastermain/settings.py +++ b/lib/toaster/toastermain/settings.py @@ -92,9 +92,6 @@ if 'DATABASE_URL' in os.environ: else: raise Exception("FIXME: Please implement missing database url schema for url: %s" % dburl) -BUILD_MODE = False -if 'TOASTER_MANAGED' in os.environ and os.environ['TOASTER_MANAGED'] == "1": - BUILD_MODE = True # Allows current database settings to be exported as a DATABASE_URL environment variable value |