diff options
Diffstat (limited to 'Mac/Tools/Doc/HelpIndexingTool/odds_and_ends.py')
-rw-r--r-- | Mac/Tools/Doc/HelpIndexingTool/odds_and_ends.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Tools/Doc/HelpIndexingTool/odds_and_ends.py b/Mac/Tools/Doc/HelpIndexingTool/odds_and_ends.py index 7ee46f3..86ecb95 100644 --- a/Mac/Tools/Doc/HelpIndexingTool/odds_and_ends.py +++ b/Mac/Tools/Doc/HelpIndexingTool/odds_and_ends.py @@ -20,14 +20,14 @@ class odds_and_ends_Events: _code = 'misc' _subcode = 'slct' - if _arguments: raise TypeError, 'No optional args expected' + if _arguments: raise TypeError('No optional args expected') _arguments['----'] = _object _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) + raise aetools.Error(aetools.decodeerror(_arguments)) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] |