summaryrefslogtreecommitdiff
path: root/gtk+
diff options
context:
space:
mode:
Diffstat (limited to 'gtk+')
-rw-r--r--gtk+/gtk+_2.2.4.oe6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk+/gtk+_2.2.4.oe b/gtk+/gtk+_2.2.4.oe
index e800257a17..d7996bd46f 100644
--- a/gtk+/gtk+_2.2.4.oe
+++ b/gtk+/gtk+_2.2.4.oe
@@ -69,14 +69,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
@@ -97,7 +97,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: