From: Jack Jansen Date: Fri, 9 Mar 2001 23:15:27 +0000 (+0000) Subject: Finished implementation of removing incorrect preferences file. X-Git-Tag: v2.1b2~197 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0a3939fc7117edbca8d7946c3e892937649758b5;p=thirdparty%2FPython%2Fcpython.git Finished implementation of removing incorrect preferences file. --- diff --git a/Mac/scripts/ConfigurePython.py b/Mac/scripts/ConfigurePython.py index 94e3b9530b4d..f651b049d981 100644 --- a/Mac/scripts/ConfigurePython.py +++ b/Mac/scripts/ConfigurePython.py @@ -124,7 +124,9 @@ def main(): import Dlg rv = Dlg.CautionAlert(ALERT_NOTPYTHONFOLDER, None) if rv == ALERT_NOTPYTHONFOLDER_REMOVE_QUIT: - print "TBD: Should remove preferences file" + import pythonprefs, preferences + prefpathname = pythonprefs.pref_fss.as_pathname() + os.remove(prefpathname) sys.exit(0) elif rv == ALERT_NOTPYTHONFOLDER_QUIT: sys.exit(0)