summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/recipeutils.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oe/recipeutils.py')
-rw-r--r--meta/lib/oe/recipeutils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oe/recipeutils.py b/meta/lib/oe/recipeutils.py
index 146fe83e18..632184fcd9 100644
--- a/meta/lib/oe/recipeutils.py
+++ b/meta/lib/oe/recipeutils.py
@@ -568,14 +568,14 @@ def bbappend_recipe(rd, destlayerdir, srcfiles, install=None, wildcardver=False,
568 raise Exception('Invalid extralines value passed') 568 raise Exception('Invalid extralines value passed')
569 569
570 def popline(varname): 570 def popline(varname):
571 for i in xrange(0, len(bbappendlines)): 571 for i in range(0, len(bbappendlines)):
572 if bbappendlines[i][0] == varname: 572 if bbappendlines[i][0] == varname:
573 line = bbappendlines.pop(i) 573 line = bbappendlines.pop(i)
574 return line 574 return line
575 return None 575 return None
576 576
577 def appendline(varname, op, value): 577 def appendline(varname, op, value):
578 for i in xrange(0, len(bbappendlines)): 578 for i in range(0, len(bbappendlines)):
579 item = bbappendlines[i] 579 item = bbappendlines[i]
580 if item[0] == varname: 580 if item[0] == varname:
581 bbappendlines[i] = (item[0], item[1], item[2] + ' ' + value) 581 bbappendlines[i] = (item[0], item[1], item[2] + ' ' + value)