#NEWLINE# def _cbSearchLDAPError( self , reason ) : #NEWLINE# #INDENT# reason . trap ( ldaperrors . LDAPException ) #NEWLINE# return pureldap . LDAPSearchResultDone ( resultCode = self . value . resultCode )