summaryrefslogtreecommitdiffstats
path: root/Mac/Lib
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-04-24 09:13:24 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-04-24 09:13:24 (GMT)
commit65300f17c3abaf647ba793930097f7d2658cc716 (patch)
tree62affa239f12c3a2cea9761913bc088503e50ae7 /Mac/Lib
parent8da4b59221097ede17b8729d5413ab7651a9d167 (diff)
downloadcpython-65300f17c3abaf647ba793930097f7d2658cc716.zip
cpython-65300f17c3abaf647ba793930097f7d2658cc716.tar.gz
cpython-65300f17c3abaf647ba793930097f7d2658cc716.tar.bz2
Regenerated.
Bugfix candidate.
Diffstat (limited to 'Mac/Lib')
-rw-r--r--Mac/Lib/lib-scriptpackages/Terminal/Terminal_Suite.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Mac/Lib/lib-scriptpackages/Terminal/Terminal_Suite.py b/Mac/Lib/lib-scriptpackages/Terminal/Terminal_Suite.py
index 8fe78b1..17aaf47 100644
--- a/Mac/Lib/lib-scriptpackages/Terminal/Terminal_Suite.py
+++ b/Mac/Lib/lib-scriptpackages/Terminal/Terminal_Suite.py
@@ -25,7 +25,7 @@ class Terminal_Suite_Events:
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
- if _arguments.has_key('errn'):
+ if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
if _arguments.has_key('----'):
@@ -44,7 +44,7 @@ class Terminal_Suite_Events:
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
- if _arguments.has_key('errn'):
+ if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
if _arguments.has_key('----'):
@@ -65,7 +65,7 @@ class Terminal_Suite_Events:
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
- if _arguments.has_key('errn'):
+ if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
if _arguments.has_key('----'):
@@ -89,7 +89,7 @@ class Terminal_Suite_Events:
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
- if _arguments.has_key('errn'):
+ if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
if _arguments.has_key('----'):