From: Steve Reinhardt Date: Tue, 11 Dec 2007 18:41:30 +0000 (-0800) Subject: Fix minor bug in util/style.py X-Git-Tag: m5_2.0_beta5~48 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b7ea470a976febd1fad8509a3b6b912672ba4ca3;p=gem5.git Fix minor bug in util/style.py --HG-- extra : convert_revision : d37accc884c2967d87dd267debab5afeb8b6ed85 --- diff --git a/util/style.py b/util/style.py index 18b224f27..a6a2377ae 100644 --- a/util/style.py +++ b/util/style.py @@ -402,7 +402,7 @@ if __name__ == '__main__': print '>>%s<<' % line[:-1] elif command == 'chkformat': stats = ValidationStats() - for filename in files: + for filename in args: validate(filename, stats=stats, verbose=verbose, exit_code=code) if verbose > 0: