mirror of https://github.com/python/cpython
what??! Correct r60225.
This commit is contained in:
parent
e0d30ef0ca
commit
8d365c323f
|
@ -143,7 +143,7 @@ class IdleUserConfParser(IdleConfParser):
|
|||
try:
|
||||
cfgFile = open(fname, 'w')
|
||||
except IOError:
|
||||
fname.unlink()
|
||||
os.unlink(fname)
|
||||
cfgFile = open(fname, 'w')
|
||||
self.write(cfgFile)
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue