Fix minor bug in util/style.py

--HG--
extra : convert_revision : d37accc884c2967d87dd267debab5afeb8b6ed85
This commit is contained in:
Steve Reinhardt 2007-12-11 10:41:30 -08:00
parent 948269d8aa
commit b7ea470a97

View file

@ -402,7 +402,7 @@ if __name__ == '__main__':
print '>>%s<<' % line[:-1] print '>>%s<<' % line[:-1]
elif command == 'chkformat': elif command == 'chkformat':
stats = ValidationStats() stats = ValidationStats()
for filename in files: for filename in args:
validate(filename, stats=stats, verbose=verbose, exit_code=code) validate(filename, stats=stats, verbose=verbose, exit_code=code)
if verbose > 0: if verbose > 0: