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:
Andreas Jaeger 2013-09-11 10:54:38 +02:00
parent c1f4e7c52f
commit 3c1b56c1d9
1 changed files with 2 additions and 2 deletions

View File

@ -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)