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: self.event_queue = [] def init_file(self): - try: - # delete the old log - os.remove(self.eventfile) - except: - pass - # write current configuration data with open(eventfile, "w") as f: f.write("%s\n" % json.dumps({ "allvariables" : self.cooker.getAllKeysWithFlags(["doc", "func"])}))