[oe-commits] Christopher Larson : oe.recipeutils: fix line.split error in bbappend_recipe
git at git.openembedded.org
git at git.openembedded.org
Sat Jun 27 21:45:34 UTC 2015
Module: openembedded-core.git
Branch: master
Commit: 8d18c2e71b0fcb047831a67d93f4b489aff1b77d
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=8d18c2e71b0fcb047831a67d93f4b489aff1b77d
Author: Christopher Larson <kergoth at gmail.com>
Date: Wed Jun 24 15:17:45 2015 -0700
oe.recipeutils: fix line.split error in bbappend_recipe
Cc: Paul Eggleton <paul.eggleton at linux.intel.com>
Signed-off-by: Christopher Larson <kergoth at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
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:
More information about the Openembedded-commits
mailing list