diff options
author | Chris Larson <clarson@kergoth.com> | 2004-04-01 19:08:04 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-04-01 19:08:04 +0000 |
commit | b5a7b2f50f75f480f240bec89101d5b11adcecf5 (patch) | |
tree | aa99d31a12ab5b46e6220681a1198ba0cba10da8 /pango | |
parent | 7d0f4d1ff2349647def5f78e6f07d4ce0bc7fffc (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 'pango')
-rw-r--r-- | pango/pango_1.2.5.oe | 6 |
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: |