def do_ScpDelete(po):
 sc = _get_option(po, 'service_class')
 try:
  ScpDelete(sc)
 except adsi.error as details:
  if (details[0] != winerror.ERROR_DS_OBJ_NOT_FOUND):
   raise
  log(2, "ScpDelete ignoring ERROR_DS_OBJ_NOT_FOUND for service-class '%s'", sc)
 return sc

def do_ScpDelete ( po ) : sc = _get_option ( po , 'service_class' ) try : ScpDelete ( sc ) except adsi . error as details : if ( details [ 0 ] != winerror . ERROR_DS_OBJ_NOT_FOUND ) : raise log ( 2 , "ScpDelete ignoring ERROR_DS_OBJ_NOT_FOUND for service-class '%s'" , sc ) return sc
delete a service connection point .