summaryrefslogtreecommitdiff
path: root/util/style.py
diff options
context:
space:
mode:
Diffstat (limited to 'util/style.py')
-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: