From b5a7b2f50f75f480f240bec89101d5b11adcecf5 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Thu, 1 Apr 2004 19:08:04 +0000 Subject: 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 --- flnx/flnx_0.18.oe | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'flnx') 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) } -- cgit v1.2.3