summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastermain/urls.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/urls.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/urls.py')
-rw-r--r--bitbake/lib/toaster/toastermain/urls.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/bitbake/lib/toaster/toastermain/urls.py b/bitbake/lib/toaster/toastermain/urls.py
index 6c4a953b41..5ce5a924d8 100644
--- a/bitbake/lib/toaster/toastermain/urls.py
+++ b/bitbake/lib/toaster/toastermain/urls.py
@@ -59,12 +59,11 @@ if toastermain.settings.DEBUG_PANEL_ENABLED:
59 urlpatterns.insert(1, url(r'', include(debug_toolbar.urls))) 59 urlpatterns.insert(1, url(r'', include(debug_toolbar.urls)))
60 #logger.info("Enabled django_toolbar extension") 60 #logger.info("Enabled django_toolbar extension")
61 61
62urlpatterns = [
63 # Uncomment the next line to enable the admin:
64 url(r'^admin/', include(admin.site.urls)),
65] + urlpatterns
62 66
63if toastermain.settings.BUILD_MODE:
64 urlpatterns = [
65 # Uncomment the next line to enable the admin:
66 url(r'^admin/', include(admin.site.urls)),
67 ] + urlpatterns
68# Automatically discover urls.py in various apps, beside our own 67# Automatically discover urls.py in various apps, beside our own
69# and map module directories to the patterns 68# and map module directories to the patterns
70 69