summaryrefslogtreecommitdiffstats
path: root/lib/bb/cooker.py
diff options
context:
space:
mode:
authorCristiana Voicu <cristiana.voicu@intel.com>2013-10-07 14:28:55 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-10-07 12:51:49 +0100
commit42601a5edef0316767b952b162123534aa8fee18 (patch)
tree89a8b3d780401bcf4f7f9dc2a5eff9399a0d15df /lib/bb/cooker.py
parent0cabdf1d0cde6687bc1372675a0d6242587c87a0 (diff)
downloadopenembedded-core-contrib-42601a5edef0316767b952b162123534aa8fee18.tar.gz
bitbake: replace comment added in conf files
The patch that implements removeConfigurationVar method was made before merging the patch that replaces "added by bitbake" with "added by hob". This patch corrects this issue. [YOCTO #5284] Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/cooker.py')
-rw-r--r--lib/bb/cooker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index d17716d39e..ad36b34aa4 100644
--- a/lib/bb/cooker.py
+++ b/lib/bb/cooker.py
@@ -328,7 +328,7 @@ class BBCooker:
begin_line = total.count("\n",0,index)
#check if the variable was saved before in the same way
- if contents[begin_line-1]== "#added by bitbake\n":
+ if contents[begin_line-1]== "#added by hob\n":
contents[begin_line-1] = contents[begin_line] = "\n"
else:
contents[begin_line] = "\n"