ksize.py: python3: get rid of strings.join

Used join method instead of strings.join as stings.join
doesn't exist in python 3.

(From OE-Core rev: 10529d8fbc7254523f9749f4b35b07ebcccb6205)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ed Bartosh 2016-06-02 13:12:51 +03:00 committed by Richard Purdie
parent f6f10858e5
commit 90e7feeb64
1 changed files with 1 additions and 3 deletions

View File

@ -28,8 +28,6 @@ import sys
import getopt
import os
from subprocess import *
from string import join
def usage():
prog = os.path.basename(sys.argv[0])
@ -66,7 +64,7 @@ class Report:
p = Popen("ls " + path + "/*.o | grep -v built-in.o",
shell=True, stdout=PIPE, stderr=PIPE)
glob = join(p.communicate()[0].splitlines())
glob = ' '.join(p.communicate()[0].splitlines())
oreport = Report(glob, path + "/*.o")
oreport.sizes.title = path + "/*.o"
r.parts.append(oreport)