summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@gmail.com>2007-12-11 10:41:30 -0800
committerSteve Reinhardt <stever@gmail.com>2007-12-11 10:41:30 -0800
commitb7ea470a976febd1fad8509a3b6b912672ba4ca3 (patch)
treeee8888dcc650e890b6d76040b31ec0c61fb19db3 /util
parent948269d8aaeec7f9a3f16056e759b96fc997f0fa (diff)
downloadgem5-b7ea470a976febd1fad8509a3b6b912672ba4ca3.tar.xz
Fix minor bug in util/style.py
--HG-- extra : convert_revision : d37accc884c2967d87dd267debab5afeb8b6ed85
Diffstat (limited to 'util')
-rw-r--r--util/style.py2
1 files changed, 1 insertions, 1 deletions
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: