summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2008-02-12 15:45:50 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2008-02-12 15:45:50 (GMT)
commit8d365c323ffdaf98694671d82fb1d4d7af41eaf8 (patch)
treeb84699581a1d26c11e7ae17f8e4f0911c4ca969f /Lib/idlelib
parente0d30ef0cab80e7584ac3264985746812ccd6b0d (diff)
downloadcpython-8d365c323ffdaf98694671d82fb1d4d7af41eaf8.zip
cpython-8d365c323ffdaf98694671d82fb1d4d7af41eaf8.tar.gz
cpython-8d365c323ffdaf98694671d82fb1d4d7af41eaf8.tar.bz2
what??! Correct r60225.
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/configHandler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/configHandler.py b/Lib/idlelib/configHandler.py
index 08f0b3d..681ff1e 100644
--- a/Lib/idlelib/configHandler.py
+++ b/Lib/idlelib/configHandler.py
@@ -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: