summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/cooker.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 2de6b3e0dd..ca53ff4eaa 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -131,12 +131,6 @@ class EventLogWriteHandler:
131 self.event_queue = [] 131 self.event_queue = []
132 132
133 def init_file(self): 133 def init_file(self):
134 try:
135 # delete the old log
136 os.remove(self.eventfile)
137 except:
138 pass
139
140 # write current configuration data 134 # write current configuration data
141 with open(eventfile, "w") as f: 135 with open(eventfile, "w") as f:
142 f.write("%s\n" % json.dumps({ "allvariables" : self.cooker.getAllKeysWithFlags(["doc", "func"])})) 136 f.write("%s\n" % json.dumps({ "allvariables" : self.cooker.getAllKeysWithFlags(["doc", "func"])}))