From: Jack Jansen Date: Wed, 24 Apr 2002 09:13:24 +0000 (+0000) Subject: Regenerated. X-Git-Tag: v2.3c1~5800 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=65300f17c3abaf647ba793930097f7d2658cc716;p=thirdparty%2FPython%2Fcpython.git Regenerated. Bugfix candidate. --- diff --git a/Mac/Lib/lib-scriptpackages/Terminal/Terminal_Suite.py b/Mac/Lib/lib-scriptpackages/Terminal/Terminal_Suite.py index 8fe78b10cc8a..17aaf476e9e4 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('----'):