diff options
Diffstat (limited to 'scripts/tiny/ksize.py')
-rwxr-xr-x | scripts/tiny/ksize.py | 4 |
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 | |||
28 | import getopt | 28 | import getopt |
29 | import os | 29 | import os |
30 | from subprocess import * | 30 | from subprocess import * |
31 | from string import join | ||
32 | |||
33 | 31 | ||
34 | def usage(): | 32 | def 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) |