bloat-o-meter: fix tab/space mixing

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
Mike Frysinger 2009-06-01 16:34:11 -04:00
parent eab40e5885
commit 5177e28e9c

View File

@ -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()