diff options
author | Kurt B. Kaiser <kbk@shore.net> | 2008-02-12 15:45:50 (GMT) |
---|---|---|
committer | Kurt B. Kaiser <kbk@shore.net> | 2008-02-12 15:45:50 (GMT) |
commit | 8d365c323ffdaf98694671d82fb1d4d7af41eaf8 (patch) | |
tree | b84699581a1d26c11e7ae17f8e4f0911c4ca969f /Lib | |
parent | e0d30ef0cab80e7584ac3264985746812ccd6b0d (diff) | |
download | cpython-8d365c323ffdaf98694671d82fb1d4d7af41eaf8.zip cpython-8d365c323ffdaf98694671d82fb1d4d7af41eaf8.tar.gz cpython-8d365c323ffdaf98694671d82fb1d4d7af41eaf8.tar.bz2 |
what??! Correct r60225.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/idlelib/configHandler.py | 2 |
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: |