[OE-core] [PATCH 1/3] oe.recipeutils: fix line.split error in bbappend_recipe
Christopher Larson
kergoth at gmail.com
Wed Jun 24 22:17:45 UTC 2015
Cc: Paul Eggleton <paul.eggleton at linux.intel.com>
Signed-off-by: Christopher Larson <kergoth at gmail.com>
---
meta/lib/oe/recipeutils.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/lib/oe/recipeutils.py b/meta/lib/oe/recipeutils.py
index 26bbf3e..d8094c8 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:
--
2.2.1
More information about the Openembedded-core
mailing list