summaryrefslogtreecommitdiffstats
path: root/Mac/Demo/applescript/Disk_Copy/Special_Events.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Demo/applescript/Disk_Copy/Special_Events.py')
-rw-r--r--Mac/Demo/applescript/Disk_Copy/Special_Events.py28
1 files changed, 14 insertions, 14 deletions
diff --git a/Mac/Demo/applescript/Disk_Copy/Special_Events.py b/Mac/Demo/applescript/Disk_Copy/Special_Events.py
index a2b0910..2c7e04f 100644
--- a/Mac/Demo/applescript/Disk_Copy/Special_Events.py
+++ b/Mac/Demo/applescript/Disk_Copy/Special_Events.py
@@ -43,7 +43,7 @@ class Special_Events_Events:
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
if _arguments.has_key('errn'):
- raise aetools.Error, aetools.decodeerror(_arguments)
+ raise aetools.Error(aetools.decodeerror(_arguments))
# XXXX Optionally decode result
if _arguments.has_key('----'):
return _arguments['----']
@@ -72,7 +72,7 @@ class Special_Events_Events:
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
if _arguments.has_key('errn'):
- 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 Special_Events_Events:
_code = 'ddsk'
_subcode = 'Umnt'
- 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.has_key('errn'):
- raise aetools.Error, aetools.decodeerror(_arguments)
+ raise aetools.Error(aetools.decodeerror(_arguments))
# XXXX Optionally decode result
if _arguments.has_key('----'):
return _arguments['----']
@@ -131,7 +131,7 @@ class Special_Events_Events:
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
if _arguments.has_key('errn'):
- 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 Special_Events_Events:
_code = 'ddsk'
_subcode = 'Vcrc'
- 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.has_key('errn'):
- raise aetools.Error, aetools.decodeerror(_arguments)
+ raise aetools.Error(aetools.decodeerror(_arguments))
# XXXX Optionally decode result
if _arguments.has_key('----'):
return _arguments['----']
@@ -166,14 +166,14 @@ class Special_Events_Events:
_code = 'ddsk'
_subcode = 'Vsig'
- 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.has_key('errn'):
- raise aetools.Error, aetools.decodeerror(_arguments)
+ raise aetools.Error(aetools.decodeerror(_arguments))
# XXXX Optionally decode result
if _arguments.has_key('----'):
return _arguments['----']
@@ -199,7 +199,7 @@ class Special_Events_Events:
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
if _arguments.has_key('errn'):
- raise aetools.Error, aetools.decodeerror(_arguments)
+ raise aetools.Error(aetools.decodeerror(_arguments))
# XXXX Optionally decode result
if _arguments.has_key('----'):
return _arguments['----']
@@ -231,7 +231,7 @@ class Special_Events_Events:
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
if _arguments.has_key('errn'):
- raise aetools.Error, aetools.decodeerror(_arguments)
+ raise aetools.Error(aetools.decodeerror(_arguments))
# XXXX Optionally decode result
if _arguments.has_key('----'):
return _arguments['----']
@@ -258,7 +258,7 @@ class Special_Events_Events:
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
if _arguments.has_key('errn'):
- raise aetools.Error, aetools.decodeerror(_arguments)
+ raise aetools.Error(aetools.decodeerror(_arguments))
# XXXX Optionally decode result
if _arguments.has_key('----'):
return _arguments['----']
@@ -290,7 +290,7 @@ class Special_Events_Events:
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
if _arguments.has_key('errn'):
- raise aetools.Error, aetools.decodeerror(_arguments)
+ raise aetools.Error(aetools.decodeerror(_arguments))
# XXXX Optionally decode result
if _arguments.has_key('----'):
return _arguments['----']
@@ -331,7 +331,7 @@ class Special_Events_Events:
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
if _arguments.has_key('errn'):
- raise aetools.Error, aetools.decodeerror(_arguments)
+ raise aetools.Error(aetools.decodeerror(_arguments))
# XXXX Optionally decode result
if _arguments.has_key('----'):
return _arguments['----']