summaryrefslogtreecommitdiffstats
path: root/Mac/Lib/pythonprefs.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2000-05-05 23:11:14 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2000-05-05 23:11:14 (GMT)
commit0c6d037cc5f53420d519f108eaa4a7cdd76379bf (patch)
treeaa01d18dfb50df7de65badc2ce61ab6bf31247ea /Mac/Lib/pythonprefs.py
parent1fdadcd42cd430d6e77c1df1ed1df777ca3ff4a2 (diff)
downloadcpython-0c6d037cc5f53420d519f108eaa4a7cdd76379bf.zip
cpython-0c6d037cc5f53420d519f108eaa4a7cdd76379bf.tar.gz
cpython-0c6d037cc5f53420d519f108eaa4a7cdd76379bf.tar.bz2
Removed string-exception preference, added tabcheck and NavService preference, upped version number.
Diffstat (limited to 'Mac/Lib/pythonprefs.py')
-rw-r--r--Mac/Lib/pythonprefs.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/Mac/Lib/pythonprefs.py b/Mac/Lib/pythonprefs.py
index 40a2dd2..916ec9f 100644
--- a/Mac/Lib/pythonprefs.py
+++ b/Mac/Lib/pythonprefs.py
@@ -16,14 +16,14 @@ OVERRIDE_POPT_ID = 229
OVERRIDE_GUSI_ID = 10241
# version
-CUR_VERSION=4
+CUR_VERSION=5
preffilename = PstringLoader(AnyResLoader('STR ', resname=PREFNAME_NAME)).load()
pref_fss = preferencefile(preffilename, 'Pyth', 'pref')
class PoptLoader(VersionLoader):
def __init__(self, loader):
- VersionLoader.__init__(self, "bbbbbbbbbbbb", loader)
+ VersionLoader.__init__(self, "bbbbbbbbbbbbb", loader)
def versioncheck(self, data):
if data[0] == CUR_VERSION:
@@ -89,8 +89,8 @@ class PythonOptions:
flags = self.popt.load()
dict['version'], dict['inspect'], dict['verbose'], dict['optimize'], \
dict['unbuffered'], dict['debugging'], dict['keepopen'], dict['keeperror'], \
- dict['nointopt'], dict['noargs'], dict['oldexc'], \
- dict['nosite'] = flags
+ dict['nointopt'], dict['noargs'], dict['tabwarn'], \
+ dict['nosite'], dict['nonavservice'] = flags
return dict
def save(self, dict):
@@ -100,8 +100,8 @@ class PythonOptions:
self.gusi.save((dict['creator'], dict['type'], dict['delayconsole']))
flags = dict['version'], dict['inspect'], dict['verbose'], dict['optimize'], \
dict['unbuffered'], dict['debugging'], dict['keepopen'], dict['keeperror'], \
- dict['nointopt'], dict['noargs'], dict['oldexc'], \
- dict['nosite']
+ dict['nointopt'], dict['noargs'], dict['tabwarn'], \
+ dict['nosite'], dict['nonavservice']
self.popt.save(flags)
def AppletOptions(file):