Regenerated.

Bugfix candidate.
This commit is contained in:
Jack Jansen 2002-04-24 09:13:24 +00:00
parent 8da4b59221
commit 65300f17c3

View file

@ -25,7 +25,7 @@ class Terminal_Suite_Events:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
@ -44,7 +44,7 @@ class Terminal_Suite_Events:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
@ -65,7 +65,7 @@ class Terminal_Suite_Events:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
@ -89,7 +89,7 @@ class Terminal_Suite_Events:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):