Update of /cvsroot/pywin32/pywin32/com/win32comext/adsi/demos
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31370
Modified Files:
scp.py
Log Message:
ScpDelete only cares about the container name, and tweak a logging.debug()
Index: scp.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32comext/adsi/demos/scp.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** scp.py 25 May 2005 02:11:15 -0000 1.2
--- scp.py 31 May 2005 12:44:34 -0000 1.3
***************
*** 99,107 ****
return new
! def ScpDelete(service_class_name, container_name = None, dn = None):
! container_name = container_name or service_class_name
if dn is None:
dn = win32api.GetComputerObjectName(win32con.NameFullyQualifiedDN)
! logger.debug("Removing connection point from %s", dn)
# Compose the ADSpath and bind to the computer object for the local computer
--- 99,106 ----
return new
! def ScpDelete(container_name, dn = None):
if dn is None:
dn = win32api.GetComputerObjectName(win32con.NameFullyQualifiedDN)
! logger.debug("Removing connection point '%s' from %s", container_name, dn)
# Compose the ADSpath and bind to the computer object for the local computer
|