summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Larson <kergoth@gmail.com>2015-06-24 15:17:45 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-06-27 22:41:59 +0100
commit8d18c2e71b0fcb047831a67d93f4b489aff1b77d (patch)
tree63cd10bf357d271b61eaa1a18f4de8ae8ea7b85b
parente013fe79cdf67429ff986d8ee6af510b34b31c9d (diff)
downloadopenembedded-core-8d18c2e71b0fcb047831a67d93f4b489aff1b77d.tar.gz
openembedded-core-8d18c2e71b0fcb047831a67d93f4b489aff1b77d.tar.bz2
openembedded-core-8d18c2e71b0fcb047831a67d93f4b489aff1b77d.zip
oe.recipeutils: fix line.split error in bbappend_recipe
Cc: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oe/recipeutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/recipeutils.py b/meta/lib/oe/recipeutils.py
index 26bbf3e5c9..d8094c8769 100644
--- a/meta/lib/oe/recipeutils.py
+++ b/meta/lib/oe/recipeutils.py
@@ -436,7 +436,7 @@ def bbappend_recipe(rd, destlayerdir, srcfiles, install=None, wildcardver=False,
for line in extralines:
if line[-1] == '\n':
line = line[:-1]
- splitline = line.split(maxsplit=2)
+ splitline = line.split(None, 2)
if len(splitline) == 3:
bbappendlines.append(tuple(splitline))
else: