diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/bloat-o-meter | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/bloat-o-meter b/scripts/bloat-o-meter index 02e8c8a0f..38d2f5c1c 100755 --- a/scripts/bloat-o-meter +++ b/scripts/bloat-o-meter @@ -25,10 +25,10 @@ nm_args = " ".join([x for x in sys.argv[3:]]) def getsizes(file): sym = {} for l in os.popen("nm --size-sort %s %s" % (nm_args, file)).readlines(): - l = l.strip() - # Skip empty lines + l = l.strip() + # Skip empty lines if not len(l): continue - # Skip archive members + # Skip archive members if len(l.split()) == 1 and l.endswith(':'): continue size, type, name = l.split() |