diff options
author | Matt Wilson <msw@redhat.com> | 2001-03-30 22:59:22 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-03-30 22:59:22 +0000 |
commit | dff1b88388aa88c333bb3ffefad9fc895e9ec727 (patch) | |
tree | 2264d1073c20de0099c2f5c6502247bcc8e2486b /todo.py | |
parent | b04cd17f0ed74576704f87f53ff523718f23f773 (diff) | |
download | anaconda-dff1b88388aa88c333bb3ffefad9fc895e9ec727.tar.gz anaconda-dff1b88388aa88c333bb3ffefad9fc895e9ec727.tar.xz anaconda-dff1b88388aa88c333bb3ffefad9fc895e9ec727.zip |
unlink log first (#34030)
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) |