Fix validate.py and print process message
A recent change put one expression into a for loop by accident, fix it. Also, print a process message to indiciate when validation was successfull. Change-Id: I0863a631a1e5f1e07fa48b388063166dc4b3f781
This commit is contained in:
parent
0ff4f5f622
commit
00dbe3f755
@ -221,7 +221,7 @@ def validate_individual_files(rootdir, exceptions, force):
|
||||
print("\nFollowing files will be validated:")
|
||||
for f in modified_files:
|
||||
print(">>> %s" % f)
|
||||
modified_files = map(lambda x: os.path.abspath(x), modified_files)
|
||||
modified_files = map(lambda x: os.path.abspath(x), modified_files)
|
||||
|
||||
for root, dirs, files in os.walk(rootdir):
|
||||
# Don't descend into 'target' subdirectories
|
||||
@ -255,7 +255,7 @@ def validate_individual_files(rootdir, exceptions, force):
|
||||
|
||||
if any_failures:
|
||||
sys.exit(1)
|
||||
|
||||
print("Validation passed.\n")
|
||||
|
||||
def logging_build_book(result):
|
||||
RESULTS_OF_BUILDS.append(result)
|
||||
|
Loading…
x
Reference in New Issue
Block a user