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:
|
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:
|
||||||
|
|
Loading…
Reference in New Issue