Mailing List Archive

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

Modified Files:
Standard_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: Standard_Suite.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Lib/lib-scriptpackages/Netscape/Standard_Suite.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Standard_Suite.py 17 May 2001 12:39:19 -0000 1.2
--- Standard_Suite.py 23 Apr 2002 21:08:06 -0000 1.3
***************
*** 2,6 ****
Level 1, version 1

! 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 1, version 1

! Generated from Moes:Applications (Mac OS 9):Netscape CommunicatorŽ Folder:Netscape CommunicatorŽ
AETE/AEUT resource version 1/0, language 0, script 0
"""
***************
*** 11,15 ****
_code = 'CoRe'

! class Standard_Suite_Events:

def close(self, _object, _attributes={}, **_arguments):
--- 11,16 ----
_code = 'CoRe'

! from StdSuites.Standard_Suite import *
! class Standard_Suite_Events(Standard_Suite_Events):

def close(self, _object, _attributes={}, **_arguments):
***************
*** 27,31 ****
_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
--- 49,53 ----
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
***************
*** 69,73 ****
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.has_key('errn'):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
--- 70,74 ----
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
***************
*** 94,98 ****
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.has_key('errn'):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
--- 95,99 ----
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
***************
*** 213,233 ****

_propdeclarations = {
! 'ptit' : titled,
'pidx' : index,
'ppos' : position,
'curl' : URL,
- 'pnam' : name,
- 'pbnd' : bounds,
- 'isfl' : floating,
- 'hclb' : closeable,
- 'ALAP' : alert_application,
- 'iszm' : zoomable,
- 'pmod' : modal,
'pzum' : zoomed,
! 'pvis' : visible,
! 'KOSK' : kiosk_mode,
! 'busy' : busy,
! 'prsz' : resizable,
! 'wiid' : unique_ID,
}

--- 214,234 ----

_propdeclarations = {
! 'prsz' : resizable,
! 'busy' : busy,
! 'KOSK' : kiosk_mode,
! 'pvis' : visible,
! 'hclb' : closeable,
! 'pmod' : modal,
! 'wiid' : unique_ID,
! 'pbnd' : bounds,
! 'iszm' : zoomable,
! 'ALAP' : alert_application,
'pidx' : index,
+ 'isfl' : floating,
+ 'pnam' : name,
'ppos' : position,
'curl' : URL,
'pzum' : zoomed,
! 'ptit' : titled,
}