Logo Search packages:      
Sourcecode: zope-ldap version File versions

def ZLDAPConnection::Entry::GenericEntry::remove (   self,
  attr 
)

Remove the attribute\attribute list 

Definition at line 139 of file Entry.py.

00139                           :
        """ Remove the attribute\attribute list """
        if type(attr) is type(''):
            attr = (attr,)

        data = self._data
        mod_d = self._mod_delete
        for item in attr:
            if data.has_key(item):
                del data[attr]
                mod_d.append(attr)

        self._modify()                  # Send the changes to LDAP

    ### These methods actually change the object.  In the Generic Model,


Generated by  Doxygen 1.6.0   Back to index