what??! Correct r60225.

This commit is contained in:
Kurt B. Kaiser 2008-02-12 15:45:50 +00:00
parent e0d30ef0ca
commit 8d365c323f
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ class IdleUserConfParser(IdleConfParser):
try: try:
cfgFile = open(fname, 'w') cfgFile = open(fname, 'w')
except IOError: except IOError:
fname.unlink() os.unlink(fname)
cfgFile = open(fname, 'w') cfgFile = open(fname, 'w')
self.write(cfgFile) self.write(cfgFile)
else: else: