summaryrefslogtreecommitdiff
path: root/gtk+
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-04-01 19:08:04 +0000
committerChris Larson <clarson@kergoth.com>2004-04-01 19:08:04 +0000
commitb5a7b2f50f75f480f240bec89101d5b11adcecf5 (patch)
treeaa99d31a12ab5b46e6220681a1198ba0cba10da8 /gtk+
parent7d0f4d1ff2349647def5f78e6f07d4ce0bc7fffc (diff)
Merge openembedded@openembedded.bkbits.net:packages
into linux.local:/home/kergoth/code/packages 2004/04/01 21:08:03+02:00 vanille.de!mickey eliminate the usage of the deprecated 'string' module. please don't use it anymore. see diff for how to rewrite this stuff BKrev: 406c6894YHeawcERN76y3eOgFVsoMw
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: