mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Convert raise statements in Lib/plat-{mac,os2emx}.
This commit is contained in:
parent
cfe02a498b
commit
e45be28be6
51 changed files with 506 additions and 506 deletions
|
@ -38,7 +38,7 @@ class CodeWarrior_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['----']
|
||||
|
@ -50,14 +50,14 @@ class CodeWarrior_suite_Events:
|
|||
_code = 'CWIE'
|
||||
_subcode = 'MAKE'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _arguments: raise TypeError('No optional args expected')
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -70,14 +70,14 @@ class CodeWarrior_suite_Events:
|
|||
_code = 'CWIE'
|
||||
_subcode = 'CHEK'
|
||||
|
||||
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['----']
|
||||
|
@ -90,14 +90,14 @@ class CodeWarrior_suite_Events:
|
|||
_code = 'CWIE'
|
||||
_subcode = 'COMP'
|
||||
|
||||
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['----']
|
||||
|
@ -110,14 +110,14 @@ class CodeWarrior_suite_Events:
|
|||
_code = 'CWIE'
|
||||
_subcode = 'DASM'
|
||||
|
||||
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['----']
|
||||
|
@ -135,13 +135,13 @@ class CodeWarrior_suite_Events:
|
|||
_subcode = 'EXPT'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_export)
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -153,14 +153,14 @@ class CodeWarrior_suite_Events:
|
|||
_code = 'CWIE'
|
||||
_subcode = 'RMOB'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _arguments: raise TypeError('No optional args expected')
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -173,14 +173,14 @@ class CodeWarrior_suite_Events:
|
|||
_code = 'CWIE'
|
||||
_subcode = 'RMFL'
|
||||
|
||||
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['----']
|
||||
|
@ -192,14 +192,14 @@ class CodeWarrior_suite_Events:
|
|||
_code = 'CWIE'
|
||||
_subcode = 'RUN '
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _arguments: raise TypeError('No optional args expected')
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -212,14 +212,14 @@ class CodeWarrior_suite_Events:
|
|||
_code = 'CWIE'
|
||||
_subcode = 'TOCH'
|
||||
|
||||
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['----']
|
||||
|
@ -231,14 +231,14 @@ class CodeWarrior_suite_Events:
|
|||
_code = 'CWIE'
|
||||
_subcode = 'UP2D'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _arguments: raise TypeError('No optional args expected')
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
|
|
@ -33,7 +33,7 @@ class Metrowerks_Shell_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['----']
|
||||
|
@ -59,7 +59,7 @@ class Metrowerks_Shell_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['----']
|
||||
|
@ -71,14 +71,14 @@ class Metrowerks_Shell_Suite_Events:
|
|||
_code = 'MMPR'
|
||||
_subcode = 'ClsP'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _arguments: raise TypeError('No optional args expected')
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -104,7 +104,7 @@ class Metrowerks_Shell_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['----']
|
||||
|
@ -130,7 +130,7 @@ class Metrowerks_Shell_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['----']
|
||||
|
@ -155,7 +155,7 @@ class Metrowerks_Shell_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['----']
|
||||
|
@ -169,14 +169,14 @@ class Metrowerks_Shell_Suite_Events:
|
|||
_code = 'MMPR'
|
||||
_subcode = 'GDef'
|
||||
|
||||
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['----']
|
||||
|
@ -189,14 +189,14 @@ class Metrowerks_Shell_Suite_Events:
|
|||
_code = 'MMPR'
|
||||
_subcode = 'GDoc'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _arguments: raise TypeError('No optional args expected')
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -217,13 +217,13 @@ class Metrowerks_Shell_Suite_Events:
|
|||
_subcode = 'Gref'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_Get_Preferences)
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -249,7 +249,7 @@ class Metrowerks_Shell_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['----']
|
||||
|
@ -262,14 +262,14 @@ class Metrowerks_Shell_Suite_Events:
|
|||
_code = 'MMPR'
|
||||
_subcode = 'GetP'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _arguments: raise TypeError('No optional args expected')
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -282,14 +282,14 @@ class Metrowerks_Shell_Suite_Events:
|
|||
_code = 'MMPR'
|
||||
_subcode = 'GSeg'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _arguments: raise TypeError('No optional args expected')
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -303,14 +303,14 @@ class Metrowerks_Shell_Suite_Events:
|
|||
_code = 'MMPR'
|
||||
_subcode = 'MbFN'
|
||||
|
||||
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['----']
|
||||
|
@ -323,14 +323,14 @@ class Metrowerks_Shell_Suite_Events:
|
|||
_code = 'MMPR'
|
||||
_subcode = 'NsCl'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _arguments: raise TypeError('No optional args expected')
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -343,14 +343,14 @@ class Metrowerks_Shell_Suite_Events:
|
|||
_code = 'MMPR'
|
||||
_subcode = 'GoFn'
|
||||
|
||||
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['----']
|
||||
|
@ -363,14 +363,14 @@ class Metrowerks_Shell_Suite_Events:
|
|||
_code = 'MMPR'
|
||||
_subcode = 'GoLn'
|
||||
|
||||
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['----']
|
||||
|
@ -384,14 +384,14 @@ class Metrowerks_Shell_Suite_Events:
|
|||
_code = 'MMPR'
|
||||
_subcode = 'FInP'
|
||||
|
||||
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['----']
|
||||
|
@ -410,13 +410,13 @@ class Metrowerks_Shell_Suite_Events:
|
|||
_subcode = 'Make'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_Make_Project)
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -429,14 +429,14 @@ class Metrowerks_Shell_Suite_Events:
|
|||
_code = 'MMPR'
|
||||
_subcode = 'Brow'
|
||||
|
||||
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['----']
|
||||
|
@ -464,7 +464,7 @@ class Metrowerks_Shell_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['----']
|
||||
|
@ -490,7 +490,7 @@ class Metrowerks_Shell_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['----']
|
||||
|
@ -502,14 +502,14 @@ class Metrowerks_Shell_Suite_Events:
|
|||
_code = 'MMPR'
|
||||
_subcode = 'RemB'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _arguments: raise TypeError('No optional args expected')
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -523,14 +523,14 @@ class Metrowerks_Shell_Suite_Events:
|
|||
_code = 'MMPR'
|
||||
_subcode = 'RemF'
|
||||
|
||||
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['----']
|
||||
|
@ -542,14 +542,14 @@ class Metrowerks_Shell_Suite_Events:
|
|||
_code = 'MMPR'
|
||||
_subcode = 'ReFP'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _arguments: raise TypeError('No optional args expected')
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -570,13 +570,13 @@ class Metrowerks_Shell_Suite_Events:
|
|||
_subcode = 'RunP'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_Run_Project)
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -589,14 +589,14 @@ class Metrowerks_Shell_Suite_Events:
|
|||
_code = 'MMPR'
|
||||
_subcode = 'SvMs'
|
||||
|
||||
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['----']
|
||||
|
@ -609,14 +609,14 @@ class Metrowerks_Shell_Suite_Events:
|
|||
_code = 'MMPR'
|
||||
_subcode = 'STrg'
|
||||
|
||||
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['----']
|
||||
|
@ -629,14 +629,14 @@ class Metrowerks_Shell_Suite_Events:
|
|||
_code = 'MMPR'
|
||||
_subcode = 'SDfP'
|
||||
|
||||
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['----']
|
||||
|
@ -662,7 +662,7 @@ class Metrowerks_Shell_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['----']
|
||||
|
@ -682,13 +682,13 @@ class Metrowerks_Shell_Suite_Events:
|
|||
_subcode = 'Pref'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_Set_Preferences)
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -713,7 +713,7 @@ class Metrowerks_Shell_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['----']
|
||||
|
@ -738,7 +738,7 @@ class Metrowerks_Shell_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['----']
|
||||
|
@ -752,14 +752,14 @@ class Metrowerks_Shell_Suite_Events:
|
|||
_code = 'MMPR'
|
||||
_subcode = 'Toch'
|
||||
|
||||
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['----']
|
||||
|
@ -778,13 +778,13 @@ class Metrowerks_Shell_Suite_Events:
|
|||
_subcode = 'UpdP'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_Update_Project)
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
|
|
@ -34,7 +34,7 @@ class Required_Events(Required_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['----']
|
||||
|
|
|
@ -36,7 +36,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['----']
|
||||
|
@ -62,7 +62,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['----']
|
||||
|
@ -88,7 +88,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['----']
|
||||
|
@ -115,13 +115,13 @@ class Standard_Suite_Events(Standard_Suite_Events):
|
|||
_subcode = 'crel'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_make)
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -134,14 +134,14 @@ class Standard_Suite_Events(Standard_Suite_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['----']
|
||||
|
@ -166,7 +166,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['----']
|
||||
|
|
|
@ -21,14 +21,14 @@ class Microsoft_Internet_Explorer_Events:
|
|||
_code = 'MSIE'
|
||||
_subcode = 'SORC'
|
||||
|
||||
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['----']
|
||||
|
@ -41,14 +41,14 @@ class Microsoft_Internet_Explorer_Events:
|
|||
_code = 'misc'
|
||||
_subcode = 'pWND'
|
||||
|
||||
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['----']
|
||||
|
@ -74,7 +74,7 @@ class Microsoft_Internet_Explorer_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['----']
|
||||
|
|
|
@ -20,14 +20,14 @@ class Netscape_Suite_Events:
|
|||
_code = 'MOSS'
|
||||
_subcode = 'book'
|
||||
|
||||
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['----']
|
||||
|
|
|
@ -21,14 +21,14 @@ class Required_Suite_Events(Required_Suite_Events):
|
|||
_code = 'aevt'
|
||||
_subcode = 'odoc'
|
||||
|
||||
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['----']
|
||||
|
@ -41,14 +41,14 @@ class Required_Suite_Events(Required_Suite_Events):
|
|||
_code = 'aevt'
|
||||
_subcode = 'pdoc'
|
||||
|
||||
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['----']
|
||||
|
@ -60,14 +60,14 @@ class Required_Suite_Events(Required_Suite_Events):
|
|||
_code = 'aevt'
|
||||
_subcode = 'quit'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _arguments: raise TypeError('No optional args expected')
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -79,14 +79,14 @@ class Required_Suite_Events(Required_Suite_Events):
|
|||
_code = 'aevt'
|
||||
_subcode = 'oapp'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _arguments: raise TypeError('No optional args expected')
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
|
|
@ -33,7 +33,7 @@ class 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['----']
|
||||
|
|
|
@ -32,7 +32,7 @@ class URL_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['----']
|
||||
|
|
|
@ -21,14 +21,14 @@ class Web_Browser_Suite_Events:
|
|||
_code = 'WWW!'
|
||||
_subcode = 'ACTV'
|
||||
|
||||
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['----']
|
||||
|
@ -41,14 +41,14 @@ class Web_Browser_Suite_Events:
|
|||
_code = 'WWW!'
|
||||
_subcode = 'CLSA'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _arguments: raise TypeError('No optional args expected')
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -69,13 +69,13 @@ class Web_Browser_Suite_Events:
|
|||
_subcode = 'CLOS'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_CloseWindow)
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -89,14 +89,14 @@ class Web_Browser_Suite_Events:
|
|||
_code = 'WWW!'
|
||||
_subcode = 'WNFO'
|
||||
|
||||
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['----']
|
||||
|
@ -109,14 +109,14 @@ class Web_Browser_Suite_Events:
|
|||
_code = 'WWW!'
|
||||
_subcode = 'LSTW'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _arguments: raise TypeError('No optional args expected')
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -149,7 +149,7 @@ class Web_Browser_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['----']
|
||||
|
@ -175,7 +175,7 @@ class Web_Browser_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['----']
|
||||
|
@ -204,7 +204,7 @@ class Web_Browser_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['----']
|
||||
|
|
|
@ -19,14 +19,14 @@ class Finder_Basics_Events:
|
|||
_code = 'misc'
|
||||
_subcode = 'copy'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _arguments: raise TypeError('No optional args expected')
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -52,7 +52,7 @@ class Finder_Basics_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['----']
|
||||
|
|
|
@ -20,14 +20,14 @@ class Finder_items_Events:
|
|||
_code = 'fndr'
|
||||
_subcode = 'ffav'
|
||||
|
||||
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['----']
|
||||
|
@ -52,7 +52,7 @@ class Finder_items_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['----']
|
||||
|
@ -65,14 +65,14 @@ class Finder_items_Events:
|
|||
_code = 'fndr'
|
||||
_subcode = 'ejct'
|
||||
|
||||
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['----']
|
||||
|
@ -85,14 +85,14 @@ class Finder_items_Events:
|
|||
_code = 'fndr'
|
||||
_subcode = 'empt'
|
||||
|
||||
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['----']
|
||||
|
@ -105,14 +105,14 @@ class Finder_items_Events:
|
|||
_code = 'fndr'
|
||||
_subcode = 'fera'
|
||||
|
||||
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['----']
|
||||
|
@ -125,14 +125,14 @@ class Finder_items_Events:
|
|||
_code = 'misc'
|
||||
_subcode = 'mvis'
|
||||
|
||||
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['----']
|
||||
|
@ -159,7 +159,7 @@ class Finder_items_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['----']
|
||||
|
|
|
@ -19,14 +19,14 @@ class Legacy_suite_Events:
|
|||
_code = 'fndr'
|
||||
_subcode = 'rest'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _arguments: raise TypeError('No optional args expected')
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -38,14 +38,14 @@ class Legacy_suite_Events:
|
|||
_code = 'fndr'
|
||||
_subcode = 'shut'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _arguments: raise TypeError('No optional args expected')
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -57,14 +57,14 @@ class Legacy_suite_Events:
|
|||
_code = 'fndr'
|
||||
_subcode = 'slep'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _arguments: raise TypeError('No optional args expected')
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
|
|
@ -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['----']
|
||||
|
@ -54,7 +54,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['----']
|
||||
|
@ -80,7 +80,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['----']
|
||||
|
@ -94,14 +94,14 @@ class Standard_Suite_Events(Standard_Suite_Events):
|
|||
_code = 'core'
|
||||
_subcode = 'delo'
|
||||
|
||||
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['----']
|
||||
|
@ -133,7 +133,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['----']
|
||||
|
@ -147,14 +147,14 @@ class Standard_Suite_Events(Standard_Suite_Events):
|
|||
_code = 'core'
|
||||
_subcode = 'doex'
|
||||
|
||||
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['----']
|
||||
|
@ -179,13 +179,13 @@ class Standard_Suite_Events(Standard_Suite_Events):
|
|||
_subcode = 'crel'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_make)
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -220,7 +220,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['----']
|
||||
|
@ -247,7 +247,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['----']
|
||||
|
@ -272,7 +272,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['----']
|
||||
|
@ -284,14 +284,14 @@ class Standard_Suite_Events(Standard_Suite_Events):
|
|||
_code = 'aevt'
|
||||
_subcode = 'quit'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _arguments: raise TypeError('No optional args expected')
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -304,14 +304,14 @@ class Standard_Suite_Events(Standard_Suite_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['----']
|
||||
|
|
|
@ -20,14 +20,14 @@ class Mozilla_suite_Events:
|
|||
_code = 'MOSS'
|
||||
_subcode = 'Impt'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _arguments: raise TypeError('No optional args expected')
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -40,14 +40,14 @@ class Mozilla_suite_Events:
|
|||
_code = 'MOSS'
|
||||
_subcode = 'upro'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _arguments: raise TypeError('No optional args expected')
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -60,14 +60,14 @@ class Mozilla_suite_Events:
|
|||
_code = 'MOSS'
|
||||
_subcode = 'wurl'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _arguments: raise TypeError('No optional args expected')
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -93,7 +93,7 @@ class Mozilla_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['----']
|
||||
|
@ -106,14 +106,14 @@ class Mozilla_suite_Events:
|
|||
_code = 'MOSS'
|
||||
_subcode = 'hcmd'
|
||||
|
||||
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['----']
|
||||
|
@ -125,14 +125,14 @@ class Mozilla_suite_Events:
|
|||
_code = 'MOSS'
|
||||
_subcode = 'addr'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _arguments: raise TypeError('No optional args expected')
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -145,14 +145,14 @@ class Mozilla_suite_Events:
|
|||
_code = 'MOSS'
|
||||
_subcode = 'cpnt'
|
||||
|
||||
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['----']
|
||||
|
@ -164,14 +164,14 @@ class Mozilla_suite_Events:
|
|||
_code = 'MOSS'
|
||||
_subcode = 'prfl'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _arguments: raise TypeError('No optional args expected')
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -184,14 +184,14 @@ class Mozilla_suite_Events:
|
|||
_code = 'MOSS'
|
||||
_subcode = 'book'
|
||||
|
||||
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['----']
|
||||
|
@ -218,7 +218,7 @@ class Mozilla_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['----']
|
||||
|
|
|
@ -25,13 +25,13 @@ class PowerPlant_Events:
|
|||
_subcode = 'sttg'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_SwitchTellTarget)
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -56,7 +56,7 @@ class PowerPlant_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['----']
|
||||
|
|
|
@ -21,14 +21,14 @@ class Required_suite_Events(Required_Suite_Events):
|
|||
_code = 'aevt'
|
||||
_subcode = 'odoc'
|
||||
|
||||
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['----']
|
||||
|
@ -41,14 +41,14 @@ class Required_suite_Events(Required_Suite_Events):
|
|||
_code = 'aevt'
|
||||
_subcode = 'pdoc'
|
||||
|
||||
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['----']
|
||||
|
@ -60,14 +60,14 @@ class Required_suite_Events(Required_Suite_Events):
|
|||
_code = 'aevt'
|
||||
_subcode = 'quit'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _arguments: raise TypeError('No optional args expected')
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -79,14 +79,14 @@ class Required_suite_Events(Required_Suite_Events):
|
|||
_code = 'aevt'
|
||||
_subcode = 'oapp'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _arguments: raise TypeError('No optional args expected')
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
|
|
@ -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['----']
|
||||
|
|
|
@ -38,7 +38,7 @@ class Standard_URL_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['----']
|
||||
|
|
|
@ -43,7 +43,7 @@ class WorldWideWeb_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['----']
|
||||
|
@ -73,7 +73,7 @@ class WorldWideWeb_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['----']
|
||||
|
@ -98,7 +98,7 @@ class WorldWideWeb_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['----']
|
||||
|
@ -112,14 +112,14 @@ class WorldWideWeb_suite_Events:
|
|||
_code = 'WWW!'
|
||||
_subcode = 'FURL'
|
||||
|
||||
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['----']
|
||||
|
@ -133,14 +133,14 @@ class WorldWideWeb_suite_Events:
|
|||
_code = 'WWW!'
|
||||
_subcode = 'WNFO'
|
||||
|
||||
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['----']
|
||||
|
@ -153,14 +153,14 @@ class WorldWideWeb_suite_Events:
|
|||
_code = 'WWW!'
|
||||
_subcode = 'LSTW'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _arguments: raise TypeError('No optional args expected')
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -186,7 +186,7 @@ class WorldWideWeb_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['----']
|
||||
|
@ -199,14 +199,14 @@ class WorldWideWeb_suite_Events:
|
|||
_code = 'WWW!'
|
||||
_subcode = 'RGUE'
|
||||
|
||||
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['----']
|
||||
|
@ -232,7 +232,7 @@ class WorldWideWeb_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['----']
|
||||
|
@ -260,7 +260,7 @@ class WorldWideWeb_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['----']
|
||||
|
@ -286,7 +286,7 @@ class WorldWideWeb_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['----']
|
||||
|
@ -299,14 +299,14 @@ class WorldWideWeb_suite_Events:
|
|||
_code = 'WWW!'
|
||||
_subcode = 'UNRU'
|
||||
|
||||
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['----']
|
||||
|
@ -332,7 +332,7 @@ class WorldWideWeb_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['----']
|
||||
|
@ -358,7 +358,7 @@ class WorldWideWeb_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['----']
|
||||
|
@ -384,7 +384,7 @@ class WorldWideWeb_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['----']
|
||||
|
@ -397,14 +397,14 @@ class WorldWideWeb_suite_Events:
|
|||
_code = 'WWW!'
|
||||
_subcode = 'ACTV'
|
||||
|
||||
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['----']
|
||||
|
|
|
@ -21,14 +21,14 @@ class AppleScript_Suite_Events:
|
|||
_code = 'ascr'
|
||||
_subcode = 'ccat'
|
||||
|
||||
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 AppleScript_Suite_Events:
|
|||
_code = 'ascr'
|
||||
_subcode = '* '
|
||||
|
||||
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 AppleScript_Suite_Events:
|
|||
_code = 'ascr'
|
||||
_subcode = '+ '
|
||||
|
||||
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['----']
|
||||
|
@ -84,14 +84,14 @@ class AppleScript_Suite_Events:
|
|||
_code = 'ascr'
|
||||
_subcode = '- '
|
||||
|
||||
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['----']
|
||||
|
@ -105,14 +105,14 @@ class AppleScript_Suite_Events:
|
|||
_code = 'ascr'
|
||||
_subcode = '< '
|
||||
|
||||
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['----']
|
||||
|
@ -126,14 +126,14 @@ class AppleScript_Suite_Events:
|
|||
_code = 'ascr'
|
||||
_subcode = '= '
|
||||
|
||||
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['----']
|
||||
|
@ -147,14 +147,14 @@ class AppleScript_Suite_Events:
|
|||
_code = 'ascr'
|
||||
_subcode = '> '
|
||||
|
||||
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['----']
|
||||
|
@ -234,7 +234,7 @@ class AppleScript_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['----']
|
||||
|
@ -248,14 +248,14 @@ class AppleScript_Suite_Events:
|
|||
_code = 'ascr'
|
||||
_subcode = '^ '
|
||||
|
||||
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['----']
|
||||
|
@ -267,14 +267,14 @@ class AppleScript_Suite_Events:
|
|||
_code = 'misc'
|
||||
_subcode = 'actv'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _arguments: raise TypeError('No optional args expected')
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -288,14 +288,14 @@ class AppleScript_Suite_Events:
|
|||
_code = 'ascr'
|
||||
_subcode = 'AND '
|
||||
|
||||
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['----']
|
||||
|
@ -309,14 +309,14 @@ class AppleScript_Suite_Events:
|
|||
_code = 'ascr'
|
||||
_subcode = 'coer'
|
||||
|
||||
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['----']
|
||||
|
@ -330,14 +330,14 @@ class AppleScript_Suite_Events:
|
|||
_code = 'ascr'
|
||||
_subcode = 'cont'
|
||||
|
||||
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['----']
|
||||
|
@ -351,14 +351,14 @@ class AppleScript_Suite_Events:
|
|||
_code = 'ascr'
|
||||
_subcode = 'div '
|
||||
|
||||
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['----']
|
||||
|
@ -370,14 +370,14 @@ class AppleScript_Suite_Events:
|
|||
_code = 'ascr'
|
||||
_subcode = 'tend'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _arguments: raise TypeError('No optional args expected')
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -391,14 +391,14 @@ class AppleScript_Suite_Events:
|
|||
_code = 'ascr'
|
||||
_subcode = 'ends'
|
||||
|
||||
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['----']
|
||||
|
@ -429,7 +429,7 @@ class AppleScript_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['----']
|
||||
|
@ -442,14 +442,14 @@ class AppleScript_Suite_Events:
|
|||
_code = 'misc'
|
||||
_subcode = 'idle'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _arguments: raise TypeError('No optional args expected')
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -461,14 +461,14 @@ class AppleScript_Suite_Events:
|
|||
_code = 'ascr'
|
||||
_subcode = 'noop'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _arguments: raise TypeError('No optional args expected')
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -481,14 +481,14 @@ class AppleScript_Suite_Events:
|
|||
_code = 'ascr'
|
||||
_subcode = 'cmnt'
|
||||
|
||||
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['----']
|
||||
|
@ -502,14 +502,14 @@ class AppleScript_Suite_Events:
|
|||
_code = 'ascr'
|
||||
_subcode = 'mod '
|
||||
|
||||
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['----']
|
||||
|
@ -523,14 +523,14 @@ class AppleScript_Suite_Events:
|
|||
_code = 'ascr'
|
||||
_subcode = 'neg '
|
||||
|
||||
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['----']
|
||||
|
@ -544,14 +544,14 @@ class AppleScript_Suite_Events:
|
|||
_code = 'ascr'
|
||||
_subcode = 'NOT '
|
||||
|
||||
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['----']
|
||||
|
@ -565,14 +565,14 @@ class AppleScript_Suite_Events:
|
|||
_code = 'ascr'
|
||||
_subcode = 'OR '
|
||||
|
||||
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['----']
|
||||
|
@ -584,14 +584,14 @@ class AppleScript_Suite_Events:
|
|||
_code = 'ToyS'
|
||||
_subcode = 'log1'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _arguments: raise TypeError('No optional args expected')
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -605,14 +605,14 @@ class AppleScript_Suite_Events:
|
|||
_code = 'ascr'
|
||||
_subcode = 'bgwt'
|
||||
|
||||
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['----']
|
||||
|
@ -624,14 +624,14 @@ class AppleScript_Suite_Events:
|
|||
_code = 'ToyS'
|
||||
_subcode = 'log0'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _arguments: raise TypeError('No optional args expected')
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -643,14 +643,14 @@ class AppleScript_Suite_Events:
|
|||
_code = 'ascr'
|
||||
_subcode = 'tell'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _arguments: raise TypeError('No optional args expected')
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -664,14 +664,14 @@ class AppleScript_Suite_Events:
|
|||
_code = 'ascr'
|
||||
_subcode = '\xad '
|
||||
|
||||
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['----']
|
||||
|
@ -685,14 +685,14 @@ class AppleScript_Suite_Events:
|
|||
_code = 'ascr'
|
||||
_subcode = '<= '
|
||||
|
||||
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['----']
|
||||
|
@ -706,14 +706,14 @@ class AppleScript_Suite_Events:
|
|||
_code = 'ascr'
|
||||
_subcode = '>= '
|
||||
|
||||
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['----']
|
||||
|
@ -727,14 +727,14 @@ class AppleScript_Suite_Events:
|
|||
_code = 'ascr'
|
||||
_subcode = '/ '
|
||||
|
||||
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['----']
|
||||
|
|
|
@ -34,7 +34,7 @@ class Standard_Suite_Events(builtin_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['----']
|
||||
|
@ -62,7 +62,7 @@ class Standard_Suite_Events(builtin_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['----']
|
||||
|
@ -88,7 +88,7 @@ class Standard_Suite_Events(builtin_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['----']
|
||||
|
@ -114,7 +114,7 @@ class Standard_Suite_Events(builtin_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['----']
|
||||
|
@ -127,14 +127,14 @@ class Standard_Suite_Events(builtin_Suite_Events):
|
|||
_code = 'core'
|
||||
_subcode = 'delo'
|
||||
|
||||
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['----']
|
||||
|
@ -162,7 +162,7 @@ class Standard_Suite_Events(builtin_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['----']
|
||||
|
@ -188,7 +188,7 @@ class Standard_Suite_Events(builtin_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['----']
|
||||
|
@ -202,14 +202,14 @@ class Standard_Suite_Events(builtin_Suite_Events):
|
|||
_code = 'core'
|
||||
_subcode = 'doex'
|
||||
|
||||
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['----']
|
||||
|
@ -223,14 +223,14 @@ class Standard_Suite_Events(builtin_Suite_Events):
|
|||
_code = 'core'
|
||||
_subcode = 'brak'
|
||||
|
||||
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['----']
|
||||
|
@ -255,13 +255,13 @@ class Standard_Suite_Events(builtin_Suite_Events):
|
|||
_subcode = 'crel'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_make)
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -287,7 +287,7 @@ class Standard_Suite_Events(builtin_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['----']
|
||||
|
@ -300,14 +300,14 @@ class Standard_Suite_Events(builtin_Suite_Events):
|
|||
_code = 'aevt'
|
||||
_subcode = 'odoc'
|
||||
|
||||
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['----']
|
||||
|
@ -320,14 +320,14 @@ class Standard_Suite_Events(builtin_Suite_Events):
|
|||
_code = 'aevt'
|
||||
_subcode = 'pdoc'
|
||||
|
||||
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['----']
|
||||
|
@ -345,14 +345,14 @@ class Standard_Suite_Events(builtin_Suite_Events):
|
|||
_subcode = 'quit'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_quit)
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
aetools.enumsubst(_arguments, 'savo', _Enum_savo)
|
||||
|
||||
_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['----']
|
||||
|
@ -364,14 +364,14 @@ class Standard_Suite_Events(builtin_Suite_Events):
|
|||
_code = 'aevt'
|
||||
_subcode = 'rapp'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _arguments: raise TypeError('No optional args expected')
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -383,14 +383,14 @@ class Standard_Suite_Events(builtin_Suite_Events):
|
|||
_code = 'aevt'
|
||||
_subcode = 'oapp'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _arguments: raise TypeError('No optional args expected')
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -417,7 +417,7 @@ class Standard_Suite_Events(builtin_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['----']
|
||||
|
@ -430,14 +430,14 @@ class Standard_Suite_Events(builtin_Suite_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['----']
|
||||
|
@ -463,7 +463,7 @@ class Standard_Suite_Events(builtin_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['----']
|
||||
|
|
|
@ -38,7 +38,7 @@ class Disk_Folder_File_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['----']
|
||||
|
|
|
@ -38,7 +38,7 @@ class Folder_Actions_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['----']
|
||||
|
@ -52,14 +52,14 @@ class Folder_Actions_Suite_Events:
|
|||
_code = 'faco'
|
||||
_subcode = 'lact'
|
||||
|
||||
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['----']
|
||||
|
@ -90,7 +90,7 @@ class Folder_Actions_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['----']
|
||||
|
@ -118,7 +118,7 @@ class Folder_Actions_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['----']
|
||||
|
@ -146,7 +146,7 @@ class Folder_Actions_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['----']
|
||||
|
|
|
@ -21,14 +21,14 @@ class Hidden_Suite_Events(Type_Names_Suite_Events):
|
|||
_code = 'misc'
|
||||
_subcode = 'dosc'
|
||||
|
||||
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['----']
|
||||
|
|
|
@ -20,14 +20,14 @@ class Power_Suite_Events:
|
|||
_code = 'fndr'
|
||||
_subcode = 'rest'
|
||||
|
||||
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['----']
|
||||
|
@ -40,14 +40,14 @@ class Power_Suite_Events:
|
|||
_code = 'fndr'
|
||||
_subcode = 'shut'
|
||||
|
||||
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['----']
|
||||
|
@ -60,14 +60,14 @@ class Power_Suite_Events:
|
|||
_code = 'fndr'
|
||||
_subcode = 'slep'
|
||||
|
||||
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['----']
|
||||
|
|
|
@ -35,7 +35,7 @@ class 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['----']
|
||||
|
@ -61,7 +61,7 @@ class 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['----']
|
||||
|
@ -74,14 +74,14 @@ class Standard_Suite_Events:
|
|||
_code = 'core'
|
||||
_subcode = 'delo'
|
||||
|
||||
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['----']
|
||||
|
@ -108,7 +108,7 @@ class 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['----']
|
||||
|
@ -122,14 +122,14 @@ class Standard_Suite_Events:
|
|||
_code = 'core'
|
||||
_subcode = 'doex'
|
||||
|
||||
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['----']
|
||||
|
@ -143,14 +143,14 @@ class 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['----']
|
||||
|
@ -175,13 +175,13 @@ class Standard_Suite_Events:
|
|||
_subcode = 'crel'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_make)
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -206,7 +206,7 @@ class 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['----']
|
||||
|
@ -219,14 +219,14 @@ class Standard_Suite_Events:
|
|||
_code = 'aevt'
|
||||
_subcode = 'odoc'
|
||||
|
||||
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['----']
|
||||
|
@ -239,14 +239,14 @@ class Standard_Suite_Events:
|
|||
_code = 'aevt'
|
||||
_subcode = 'pdoc'
|
||||
|
||||
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['----']
|
||||
|
@ -272,7 +272,7 @@ class 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['----']
|
||||
|
@ -299,7 +299,7 @@ class 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['----']
|
||||
|
@ -324,7 +324,7 @@ class 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['----']
|
||||
|
|
|
@ -20,14 +20,14 @@ class System_Events_Suite_Events:
|
|||
_code = 'misc'
|
||||
_subcode = 'dosc'
|
||||
|
||||
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['----']
|
||||
|
|
|
@ -35,7 +35,7 @@ class 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['----']
|
||||
|
@ -61,7 +61,7 @@ class 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['----']
|
||||
|
@ -74,14 +74,14 @@ class Standard_Suite_Events:
|
|||
_code = 'core'
|
||||
_subcode = 'delo'
|
||||
|
||||
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['----']
|
||||
|
@ -108,7 +108,7 @@ class 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['----']
|
||||
|
@ -122,14 +122,14 @@ class Standard_Suite_Events:
|
|||
_code = 'core'
|
||||
_subcode = 'doex'
|
||||
|
||||
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['----']
|
||||
|
@ -143,14 +143,14 @@ class 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['----']
|
||||
|
@ -175,13 +175,13 @@ class Standard_Suite_Events:
|
|||
_subcode = 'crel'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_make)
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -206,7 +206,7 @@ class 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['----']
|
||||
|
@ -219,14 +219,14 @@ class Standard_Suite_Events:
|
|||
_code = 'aevt'
|
||||
_subcode = 'odoc'
|
||||
|
||||
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['----']
|
||||
|
@ -239,14 +239,14 @@ class Standard_Suite_Events:
|
|||
_code = 'aevt'
|
||||
_subcode = 'pdoc'
|
||||
|
||||
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['----']
|
||||
|
@ -272,7 +272,7 @@ class 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['----']
|
||||
|
@ -299,7 +299,7 @@ class 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['----']
|
||||
|
@ -324,7 +324,7 @@ class 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['----']
|
||||
|
|
|
@ -20,14 +20,14 @@ class Terminal_Suite_Events:
|
|||
_code = 'GURL'
|
||||
_subcode = 'GURL'
|
||||
|
||||
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['----']
|
||||
|
@ -55,7 +55,7 @@ class Terminal_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['----']
|
||||
|
|
|
@ -17,14 +17,14 @@ class builtin_Suite_Events:
|
|||
_code = 'aevt'
|
||||
_subcode = 'odoc'
|
||||
|
||||
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['----']
|
||||
|
@ -36,14 +36,14 @@ class builtin_Suite_Events:
|
|||
_code = 'aevt'
|
||||
_subcode = 'oapp'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _arguments: raise TypeError('No optional args expected')
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -55,14 +55,14 @@ class builtin_Suite_Events:
|
|||
_code = 'aevt'
|
||||
_subcode = 'rapp'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _arguments: raise TypeError('No optional args expected')
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
|
||||
_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['----']
|
||||
|
@ -75,14 +75,14 @@ class builtin_Suite_Events:
|
|||
_code = 'aevt'
|
||||
_subcode = 'pdoc'
|
||||
|
||||
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['----']
|
||||
|
@ -100,14 +100,14 @@ class builtin_Suite_Events:
|
|||
_subcode = 'quit'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_quit)
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
if _no_object != None: raise TypeError('No direct arg expected')
|
||||
|
||||
aetools.enumsubst(_arguments, 'savo', _Enum_savo)
|
||||
|
||||
_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['----']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue