summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/tiny/ksize.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/tiny/ksize.py b/scripts/tiny/ksize.py
index 54b71f8e07..587c93038c 100755
--- a/scripts/tiny/ksize.py
+++ b/scripts/tiny/ksize.py
@@ -28,8 +28,6 @@ import sys
28import getopt 28import getopt
29import os 29import os
30from subprocess import * 30from subprocess import *
31from string import join
32
33 31
34def usage(): 32def usage():
35 prog = os.path.basename(sys.argv[0]) 33 prog = os.path.basename(sys.argv[0])
@@ -66,7 +64,7 @@ class Report:
66 64
67 p = Popen("ls " + path + "/*.o | grep -v built-in.o", 65 p = Popen("ls " + path + "/*.o | grep -v built-in.o",
68 shell=True, stdout=PIPE, stderr=PIPE) 66 shell=True, stdout=PIPE, stderr=PIPE)
69 glob = join(p.communicate()[0].splitlines()) 67 glob = ' '.join(p.communicate()[0].splitlines())
70 oreport = Report(glob, path + "/*.o") 68 oreport = Report(glob, path + "/*.o")
71 oreport.sizes.title = path + "/*.o" 69 oreport.sizes.title = path + "/*.o"
72 r.parts.append(oreport) 70 r.parts.append(oreport)