diff options
Diffstat (limited to 'todo.py')
-rw-r--r-- | todo.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1820,6 +1820,10 @@ class ToDo: logname = '/tmp/install.log' self.instLogName = self.instPath + logname + try: + os.unlink (self.instLogName) + except OSError: + pass self.instLog = open(self.instLogName, "w+") syslog = InstSyslog (self.instPath, self.instPath + logname) |