bloat-o-meter: fix tab/space mixing
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
eab40e5885
commit
5177e28e9c
@ -25,10 +25,10 @@ nm_args = " ".join([x for x in sys.argv[3:]])
|
|||||||
def getsizes(file):
|
def getsizes(file):
|
||||||
sym = {}
|
sym = {}
|
||||||
for l in os.popen("nm --size-sort %s %s" % (nm_args, file)).readlines():
|
for l in os.popen("nm --size-sort %s %s" % (nm_args, file)).readlines():
|
||||||
l = l.strip()
|
l = l.strip()
|
||||||
# Skip empty lines
|
# Skip empty lines
|
||||||
if not len(l): continue
|
if not len(l): continue
|
||||||
# Skip archive members
|
# Skip archive members
|
||||||
if len(l.split()) == 1 and l.endswith(':'):
|
if len(l.split()) == 1 and l.endswith(':'):
|
||||||
continue
|
continue
|
||||||
size, type, name = l.split()
|
size, type, name = l.split()
|
||||||
|
Loading…
Reference in New Issue
Block a user