diff options
Diffstat (limited to 'Lib/plat-mac/lib-scriptpackages/Netscape/Standard_Suite.py')
-rw-r--r-- | Lib/plat-mac/lib-scriptpackages/Netscape/Standard_Suite.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Lib/plat-mac/lib-scriptpackages/Netscape/Standard_Suite.py b/Lib/plat-mac/lib-scriptpackages/Netscape/Standard_Suite.py index 5c3e927..7bb4a5c 100644 --- a/Lib/plat-mac/lib-scriptpackages/Netscape/Standard_Suite.py +++ b/Lib/plat-mac/lib-scriptpackages/Netscape/Standard_Suite.py @@ -21,14 +21,14 @@ class Standard_Suite_Events(Standard_Suite_Events): _code = 'core' _subcode = 'clos' - 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['----'] @@ -42,14 +42,14 @@ class Standard_Suite_Events(Standard_Suite_Events): _code = 'core' _subcode = 'dsiz' - 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['----'] @@ -63,14 +63,14 @@ class Standard_Suite_Events(Standard_Suite_Events): _code = 'core' _subcode = 'getd' - 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['----'] @@ -95,7 +95,7 @@ class Standard_Suite_Events(Standard_Suite_Events): _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['----'] |