summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cooker.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r--bitbake/lib/bb/cooker.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 07202e3392..e4cff3a23e 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -334,6 +334,8 @@ class BBCooker:
334 contents[begin_line] = "\n" 334 contents[begin_line] = "\n"
335 #remove var from history 335 #remove var from history
336 self.data.varhistory.del_var_history(var, conf_file, line) 336 self.data.varhistory.del_var_history(var, conf_file, line)
337 #remove variable
338 self.data.delVar(var)
337 339
338 with open(conf_file, 'w') as f: 340 with open(conf_file, 'w') as f:
339 f.writelines(contents) 341 f.writelines(contents)