summaryrefslogtreecommitdiff
path: root/classes/insane.bbclass
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2007-03-09 20:29:00 +0000
committerHolger Freyther <zecke@selfish.org>2007-03-09 20:29:00 +0000
commit0c6a9f2f931c65df90763850e9b30bb0d913e498 (patch)
treece6416a7d188b94e70bb9eb281db02dbf2ed3eba /classes/insane.bbclass
parentd5da9fdead78ced73cb0afa793dafb22c0dd86fd (diff)
classes/insane.bbclass: Use split and make it work with python2.3 again
rsplit was introduced in python 2.4 and is like split but starts to split from the right side. The only difference is obviously if you have maxsplit set (which we don't). So it is fine to remove the 'r'
Diffstat (limited to 'classes/insane.bbclass')
-rw-r--r--classes/insane.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/insane.bbclass b/classes/insane.bbclass
index a3ca21d1dc..40f6151f08 100644
--- a/classes/insane.bbclass
+++ b/classes/insane.bbclass
@@ -206,7 +206,7 @@ def package_qa_check_rpath(file,name,d):
bb.fatal("This class assumed that WORKDIR is ${TMPDIR}/work... Not doing any check")
output = os.popen("%s -Byr %s" % (scanelf,file))
- txt = output.readline().rsplit()
+ txt = output.readline().split()
if bad_dir in txt:
package_qa_write_error( 1, name, file, d)
bb.error("QA Issue package %s contains bad RPATH %s in file %s" % (name, txt, file))