Skip to contentSkip to conversation

toaster: checksettings Remove confusing startup messages

PATCH New Michael Wood 1 participant 1 message Oct 3, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 toaster: checksettings Remove confusing startup messages

These "validation" messages are shown regardless as to whether the settings are being correctly set or not.
For the time being remove them.

[YOCTO #9097]

---
 bitbake/lib/toaster/bldcontrol/management/commands/checksettings.py | 2 --
 1 file changed, 2 deletions(-)
bitbake/lib/toaster/bldcontrol/management/commands/checksettings.py +0 -2
index 28b9945..2ed994f 100644
@@ -42,7 +42,6 @@ class Command(NoArgsCommand):
                     return True
 
                 if len(be.sourcedir) == 0:
-                    print("\n -- Validation: The layers checkout directory must be set.")
                     is_changed = _update_sourcedir()
 
                 if not be.sourcedir.startswith("/"):
@@ -59,7 +58,6 @@ class Command(NoArgsCommand):
                     return True
 
                 if len(be.builddir) == 0:
-                    print("\n -- Validation: The build directory must be set.")
                     is_changed = _update_builddir()
 
                 if not be.builddir.startswith("/"):
Signature · 1 line
2.7.4