Update of /cvsroot/pywin32/pywin32/isapi
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv11878
Modified Files:
install.py
Log Message:
has_key -> in
Index: install.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/isapi/install.py,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** install.py 28 Jan 2009 10:54:41 -0000 1.21
--- install.py 2 Feb 2009 12:55:28 -0000 1.22
***************
*** 421,425 ****
for vd in params.VirtualDirs:
for smp in vd.ScriptMaps:
! if not added.has_key(smp.Module) and smp.AddExtensionFile:
_AddExtensionFile(smp.Module, vd.Name, vd.Description, smp,
options)
--- 421,425 ----
for vd in params.VirtualDirs:
for smp in vd.ScriptMaps:
! if smp.Module not in added and smp.AddExtensionFile:
_AddExtensionFile(smp.Module, vd.Name, vd.Description, smp,
options)
***************
*** 427,431 ****
for fd in params.Filters:
! if not added.has_key(fd.Path) and fd.AddExtensionFile:
_AddExtensionFile(fd.Path, fd.Name, fd.Description, fd, options)
added[fd.Path] = True
--- 427,431 ----
for fd in params.Filters:
! if fd.Path not in added and fd.AddExtensionFile:
_AddExtensionFile(fd.Path, fd.Name, fd.Description, fd, options)
added[fd.Path] = True
***************
*** 443,452 ****
for vd in params.VirtualDirs:
for smp in vd.ScriptMaps:
! if not deleted.has_key(smp.Module) and smp.AddExtensionFile:
_DeleteExtensionFileRecord(smp.Module, options)
deleted[smp.Module] = True
for filter_def in params.Filters:
! if not deleted.has_key(filter_def.Path) and filter_def.AddExtensionFile:
_DeleteExtensionFileRecord(filter_def.Path, options)
deleted[filter_def.Path] = True
--- 443,452 ----
for vd in params.VirtualDirs:
for smp in vd.ScriptMaps:
! if smp.Module not in deleted and smp.AddExtensionFile:
_DeleteExtensionFileRecord(smp.Module, options)
deleted[smp.Module] = True
for filter_def in params.Filters:
! if filter_def.Path not in deleted and filter_def.AddExtensionFile:
_DeleteExtensionFileRecord(filter_def.Path, options)
deleted[filter_def.Path] = True
|