summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
Diffstat (limited to 'pango')
-rw-r--r--pango/pango_1.2.5.oe6
1 files changed, 3 insertions, 3 deletions
diff --git a/pango/pango_1.2.5.oe b/pango/pango_1.2.5.oe
index f023f157a2..68155cd13c 100644
--- a/pango/pango_1.2.5.oe
+++ b/pango/pango_1.2.5.oe
@@ -30,14 +30,14 @@ do_stage () {
}
python populate_packages_prepend () {
- import string, os
+ import os
def do_split(root, pattern, format, description, postinst):
dvar = oe.data.getVar('D', d, 1)
if not dvar:
oe.error("D not defined")
return
- packages = string.split(oe.data.getVar('PACKAGES', d, 1))
+ packages = oe.data.getVar('PACKAGES', d, 1).split()
if not packages:
oe.error("PACKAGES not defined")
return
@@ -58,7 +58,7 @@ python populate_packages_prepend () {
oe.data.setVar('DESCRIPTION_' + pkg, description % on, d)
oe.data.setVar('pkg_postinst_' + pkg, postinst, d)
- oe.data.setVar('PACKAGES', string.join(packages, ' '), d)
+ oe.data.setVar('PACKAGES', ' '.join(packages), d)
libdir = oe.data.getVar('libdir', d, 1)
if not libdir: