diff options
Diffstat (limited to 'Mac/Lib/lib-scriptpackages/CodeWarrior/Required.py')
-rw-r--r-- | Mac/Lib/lib-scriptpackages/CodeWarrior/Required.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Lib/lib-scriptpackages/CodeWarrior/Required.py b/Mac/Lib/lib-scriptpackages/CodeWarrior/Required.py index b583b29..56d10bb 100644 --- a/Mac/Lib/lib-scriptpackages/CodeWarrior/Required.py +++ b/Mac/Lib/lib-scriptpackages/CodeWarrior/Required.py @@ -33,7 +33,7 @@ class Required_Events(Required_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('----'): |