Mailing List Archive

python/dist/src/Mac/Lib/lib-scriptpackages/Netscape Required_suite.py,1.3,1.4
Update of /cvsroot/python/python/dist/src/Mac/Lib/lib-scriptpackages/Netscape
In directory usw-pr-cvs1:/tmp/cvs-serv23444/Python/Mac/Lib/lib-scriptpackages/Netscape

Modified Files:
Required_suite.py
Log Message:
Second part of fix for #493826: regenerated suite modules so errn exists but == 0 doesn't signal an error.

Bugfix candidate.

Index: Required_suite.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Lib/lib-scriptpackages/Netscape/Required_suite.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Required_suite.py 17 May 2001 12:39:23 -0000 1.3
--- Required_suite.py 23 Apr 2002 21:08:02 -0000 1.4
***************
*** 2,6 ****
Level 0, version 0

! Generated from Macintosh HD:Internet:Internet-programma's:Netscape CommunicatorŽ-map:Netscape CommunicatorŽ
AETE/AEUT resource version 1/0, language 0, script 0
"""
--- 2,6 ----
Level 0, version 0

! Generated from Moes:Applications (Mac OS 9):Netscape CommunicatorŽ Folder:Netscape CommunicatorŽ
AETE/AEUT resource version 1/0, language 0, script 0
"""
***************
*** 28,32 ****
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.has_key('errn'):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
--- 28,32 ----
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
***************
*** 48,52 ****
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.has_key('errn'):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
--- 48,52 ----
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
***************
*** 67,71 ****
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.has_key('errn'):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
--- 67,71 ----
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
***************
*** 86,90 ****
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.has_key('errn'):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
--- 86,90 ----
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result