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

def ZLDAPConnection::Entry::GenericEntry::__getitem__ (   self,

getitem is used to get sub-entries, not attributes

Definition at line 90 of file Entry.py.

00090                               :
        """getitem is used to get sub-entries, not attributes"""
        if self.__subentries:
            if se.has_key(key):
                return se[key]
        key = '%s, %s' % (urllib.unquote(key), self.dn)
        conn= self._connection()
        if conn.hasEntry(key):
            return conn.getEntry(key, self)
            raise IndexError, key

    def __getattr__(self, attr):

Generated by  Doxygen 1.6.0   Back to index