diff options
author | Just van Rossum <just@lettererror.com> | 1999-02-02 15:49:03 (GMT) |
---|---|---|
committer | Just van Rossum <just@lettererror.com> | 1999-02-02 15:49:03 (GMT) |
commit | 26a69db4c7d50299178c24b6f5e9b59dd12a6f66 (patch) | |
tree | 31d0d6537f2c6bde3a85281e579e34f433378d9f /Mac/Lib | |
parent | 9202755fcb1c26927930735e4f37f1f9571e7b06 (diff) | |
download | cpython-26a69db4c7d50299178c24b6f5e9b59dd12a6f66.zip cpython-26a69db4c7d50299178c24b6f5e9b59dd12a6f66.tar.gz cpython-26a69db4c7d50299178c24b6f5e9b59dd12a6f66.tar.bz2 |
put the preferences file in a folder called "Python" inside the prefs folder, just like the IDE does -- jvr
Diffstat (limited to 'Mac/Lib')
-rw-r--r-- | Mac/Lib/preferences.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Lib/preferences.py b/Mac/Lib/preferences.py index 810d9cc..b1e0948 100644 --- a/Mac/Lib/preferences.py +++ b/Mac/Lib/preferences.py @@ -205,7 +205,7 @@ class StrListLoader: def preferencefile(filename, creator=None, type=None): create = creator != None and type != None vrefnum, dirid = macfs.FindFolder(MACFS.kOnSystemDisk, 'pref', create) - fss = macfs.FSSpec((vrefnum, dirid, filename)) + fss = macfs.FSSpec((vrefnum, dirid, ":Python:" + filename)) oldrf = Res.CurResFile() if create: try: |