Commits

Anonymous committed 9d00c81

Fixed cut&paste typo

  • Participants
  • Parent commits 2bb24d4

Comments (0)

Files changed (1)

File Doc/ldap-resiter.rst

 
 .. _ldap.resiter-example:
 
+
 Examples
 ========
 
   # Asynchronous search method
   msg_id = l.search('dc=stroeder,dc=com',ldap.SCOPE_SUBTREE,'(objectClass=*)')
 
-  for res_type,res_data,res_msgid,res_controls in self.source.allresults(msg_id):
+  for res_type,res_data,res_msgid,res_controls in l.allresults(msg_id):
     for dn,entry in res_data:
       # process dn and entry
       print dn,entry['objectClass']