Skip to content

Commit b075ab2

Browse files
shr-projectSusan Montooth
authored andcommitted
mcf: Change error message for unsupported MACHINEs (v4.0.11)
:Release Notes: Improve error message. :Detailed Notes: :Testing Performed: Only build tested. :QA Notes: No change to image. :Issues Addressed: [ES-468] Support checking mcf MACHINE arguments for validity Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com> Change-Id: Id9b9c8ea208130848c959c656261a2b4e9bc8c6f Reviewed-on: https://g2g.palm.com/6155 Reviewed-by: DCO Verification Build: Martin Jansa <Martin.Jansa@lge.com> Reviewed-by: Martin Jansa <Martin.Jansa@lge.com> Tested-by: Martin Jansa <Martin.Jansa@lge.com> Reviewed-by: Build Verification Reviewed-by: Susan Montooth <susan.montooth@lge.com>
1 parent df1d646 commit b075ab2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎mcf‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ from time import gmtime, strftime
2525
import shutil
2626
import glob
2727

28-
__version__ = "4.0.10"
28+
__version__ = "4.0.11"
2929

3030
logger = logging.getLogger(__name__)
3131

@@ -900,7 +900,7 @@ if __name__ == '__main__':
900900
read_weboslayers(srcdir)
901901
for M in options.MACHINE:
902902
if M not in SUPPORTED_MACHINES:
903-
logger.error("MACHINE argument '%s' isn't listed in supported machines in weboslayers.py '%s'" % (M, SUPPORTED_MACHINES))
903+
logger.error("MACHINE argument '%s' isn't supported (does not appear in Machines in weboslayers.py '%s')" % (M, SUPPORTED_MACHINES))
904904
sys.exit(1)
905905

906906
if options.mcfcommand != 'configure':

0 commit comments

Comments
 (0)