Update of /cvsroot/pywin32/pywin32/isapi
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4827
Modified Files:
install.py
Log Message:
IIS 5.1 may throw an AttributeError rather than a COM error trying to use
the "registered extension modules" feature.
Index: install.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/isapi/install.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** install.py 17 Feb 2005 05:47:29 -0000 1.4
--- install.py 28 Apr 2005 22:42:19 -0000 1.5
***************
*** 305,309 ****
desc)
log(2, "Added extension file '%s' (%s)" % (module, desc))
! except pythoncom.com_error, details:
# IIS5 always fails. Probably should upgrade this to
# complain more loudly if IIS6 fails.
--- 305,309 ----
desc)
log(2, "Added extension file '%s' (%s)" % (module, desc))
! except (pythoncom.com_error, AttributeError), details:
# IIS5 always fails. Probably should upgrade this to
# complain more loudly if IIS6 fails.
***************
*** 332,336 ****
ob.DeleteExtensionFileRecord(module)
log(2, "Deleted extension file record for '%s'" % module)
! except pythoncom.com_error, details:
log(2, "Failed to remove extension file '%s': %s" % (module, details))
--- 332,336 ----
ob.DeleteExtensionFileRecord(module)
log(2, "Deleted extension file record for '%s'" % module)
! except (pythoncom.com_error, AttributeError), details:
log(2, "Failed to remove extension file '%s': %s" % (module, details))
|