Mercurial > hg > truffle
comparison mx/mx_graal.py @ 18637:d5d1fbe270e9
mx: fixed format string
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 05 Dec 2014 19:13:26 +0100 |
parents | a8b46348b79f |
children | ae5033a78f1d |
comparison
equal
deleted
inserted
replaced
18636:dcf5cd3c6da9 | 18637:d5d1fbe270e9 |
---|---|
2308 with open(f) as fp: | 2308 with open(f) as fp: |
2309 content = fp.read() | 2309 content = fp.read() |
2310 if not matcher.match(content): | 2310 if not matcher.match(content): |
2311 failures[f] = csConfig | 2311 failures[f] = csConfig |
2312 for n, v in failures.iteritems(): | 2312 for n, v in failures.iteritems(): |
2313 mx.log('{0}: header does not match RegexpHeader defined in {0}'.format(n, v)) | 2313 mx.log('{0}: header does not match RegexpHeader defined in {1}'.format(n, v)) |
2314 return len(failures) | 2314 return len(failures) |
2315 | 2315 |
2316 def mx_init(suite): | 2316 def mx_init(suite): |
2317 commands = { | 2317 commands = { |
2318 'build': [build, ''], | 2318 'build': [build, ''], |