summaryrefslogtreecommitdiff
path: root/flnx
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 /flnx
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 'flnx')
-rw-r--r--flnx/flnx_0.18.oe3
1 files changed, 1 insertions, 2 deletions
diff --git a/flnx/flnx_0.18.oe b/flnx/flnx_0.18.oe
index c262e99f8d..af74fc3196 100644
--- a/flnx/flnx_0.18.oe
+++ b/flnx/flnx_0.18.oe
@@ -17,9 +17,8 @@ python do_fetch () {
}
python do_unpack () {
- import string
src_uri = oe.data.getVar("SRC_URI", d)
- src_uri = string.replace(src_uri, "-tar", ".tar")
+ src_uri = src_uri.replace("-tar", ".tar")
oe.data.setVar("SRC_URI", src_uri, d)
oe.build.exec_func("base_do_unpack", d)
}