diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-06-02 00:34:11 +0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-06-02 00:34:11 +0400 |
commit | 5177e28e9c8d1d0453f906abbf198d0b13c01bfb (patch) | |
tree | ab875a9a8e1ef23d808d9e25c780ca295aa305be /scripts | |
parent | eab40e58858d01372b5d74b7330be2d7b1c7fc75 (diff) |
bloat-o-meter: fix tab/space mixing
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
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() |