[oe-commits] Christopher Larson : oe.recipeutils: fix line.split error in bbappend_recipe

git at git.openembedded.org git at git.openembedded.org
Fri Jun 26 13:02:14 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: e17ee4eb53ef6102858fce5b2b8b8cb719289a10
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=e17ee4eb53ef6102858fce5b2b8b8cb719289a10

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