From 65300f17c3abaf647ba793930097f7d2658cc716 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Wed, 24 Apr 2002 09:13:24 +0000 Subject: Regenerated. Bugfix candidate. --- Mac/Lib/lib-scriptpackages/Terminal/Terminal_Suite.py | 8 ++++---- 1 file 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('----'): -- cgit v0.12