From: Kurt B. Kaiser Date: Tue, 12 Feb 2008 15:45:50 +0000 (+0000) Subject: what??! Correct r60225. X-Git-Tag: v2.6a1~190 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8d365c323ffdaf98694671d82fb1d4d7af41eaf8;p=python what??! Correct r60225. --- diff --git a/Lib/idlelib/configHandler.py b/Lib/idlelib/configHandler.py index 08f0b3d333..681ff1eedd 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: