libreoffice: fix do_package for oe-core using python3

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
Andreas Müller
2016-09-02 10:51:20 +02:00
parent 0ad80a6ea3
commit 16f72f6de0

View File

@@ -258,7 +258,7 @@ python lo_do_split_locales() {
# en-US is fallback so it should be implemented everywhere (= folder created)
langfallback = 'en-US'
findCMD = 'find %s -name "*%s*"' % (dvar, langfallback)
fallbacksearchresult = subprocess.Popen(findCMD, stdout=subprocess.PIPE, shell=True).communicate()[0]
fallbacksearchresult = subprocess.Popen(findCMD, stdout=subprocess.PIPE, shell=True, universal_newlines=True).communicate()[0]
# uncomment to see if we need more entries in LO_LANGUAGE_FILES
# bb.note("fallbacksearchresult = %s" % fallbacksearchresult.replace(dvar, ''))