diff options
Diffstat (limited to 'bitbake/lib/toaster/bldcontrol/management/commands/checksettings.py')
-rw-r--r-- | bitbake/lib/toaster/bldcontrol/management/commands/checksettings.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/management/commands/checksettings.py b/bitbake/lib/toaster/bldcontrol/management/commands/checksettings.py index cfcd4a00e5..20f9dce569 100644 --- a/bitbake/lib/toaster/bldcontrol/management/commands/checksettings.py +++ b/bitbake/lib/toaster/bldcontrol/management/commands/checksettings.py | |||
@@ -78,7 +78,7 @@ class Command(BaseCommand): | |||
78 | template_conf = os.environ.get("TEMPLATECONF", "") | 78 | template_conf = os.environ.get("TEMPLATECONF", "") |
79 | custom_xml_only = os.environ.get("CUSTOM_XML_ONLY") | 79 | custom_xml_only = os.environ.get("CUSTOM_XML_ONLY") |
80 | 80 | ||
81 | if ToasterSetting.objects.filter(name='CUSTOM_XML_ONLY').count() > 0 or (not custom_xml_only == None): | 81 | if ToasterSetting.objects.filter(name='CUSTOM_XML_ONLY').count() > 0 or custom_xml_only is not None: |
82 | # only use the custom settings | 82 | # only use the custom settings |
83 | pass | 83 | pass |
84 | elif "poky" in template_conf: | 84 | elif "poky" in template_conf: |