summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/byext.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/scripts/byext.py')
-rwxr-xr-xTools/scripts/byext.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/byext.py b/Tools/scripts/byext.py
index 736a441..a4b2f7f 100755
--- a/Tools/scripts/byext.py
+++ b/Tools/scripts/byext.py
@@ -83,7 +83,7 @@ class Stats:
columns.update(self.stats[ext])
cols = sorted(columns)
colwidth = {}
- colwidth["ext"] = max([len(ext) for ext in exts])
+ colwidth["ext"] = max(map(len, exts))
minwidth = 6
self.stats["TOTAL"] = {}
for col in cols: