[Python-checkins] python/dist/src/Mac/Lib/lib-scriptpackages/Netscape Standard_URL_suite.py,1.2,1.3

jackjansen@sourceforge.net jackjansen@sourceforge.net
Tue, 23 Apr 2002 14:07:44 -0700


Update of /cvsroot/python/python/dist/src/Mac/Lib/lib-scriptpackages/Netscape
In directory usw-pr-cvs1:/tmp/cvs-serv23336/Python/Mac/Lib/lib-scriptpackages/Netscape

Modified Files:
	Standard_URL_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_URL_suite.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Lib/lib-scriptpackages/Netscape/Standard_URL_suite.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Standard_URL_suite.py	17 May 2001 12:39:15 -0000	1.2
--- Standard_URL_suite.py	23 Apr 2002 21:07:41 -0000	1.3
***************
*** 5,9 ****
  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
  """
--- 5,9 ----
  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
  """
***************
*** 40,44 ****
  		_reply, _arguments, _attributes = self.send(_code, _subcode,
  				_arguments, _attributes)
! 		if _arguments.has_key('errn'):
  			raise aetools.Error, aetools.decodeerror(_arguments)
  		# XXXX Optionally decode result
--- 40,44 ----
  		_reply, _arguments, _attributes = self.send(_code, _subcode,
  				_arguments, _attributes)
! 		if _arguments.get('errn', 0):
  			raise aetools.Error, aetools.decodeerror(_arguments)
  		# XXXX Optionally decode result