aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/plat-mac/lib-scriptpackages/Explorer/Web_Browser_Suite.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/plat-mac/lib-scriptpackages/Explorer/Web_Browser_Suite.py')
-rw-r--r--Lib/plat-mac/lib-scriptpackages/Explorer/Web_Browser_Suite.py30
1 files changed, 15 insertions, 15 deletions
diff --git a/Lib/plat-mac/lib-scriptpackages/Explorer/Web_Browser_Suite.py b/Lib/plat-mac/lib-scriptpackages/Explorer/Web_Browser_Suite.py
index ff808eb9682..78c58c8ea0f 100644
--- a/Lib/plat-mac/lib-scriptpackages/Explorer/Web_Browser_Suite.py
+++ b/Lib/plat-mac/lib-scriptpackages/Explorer/Web_Browser_Suite.py
@@ -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['----']