[Zope-CVS] SVN: ldapadapter/trunk/README.txt Wording.

Florent Guillaume fg at nuxeo.com
Sun Oct 10 13:15:40 EDT 2004


Log message for revision 27929:
  Wording.
  


Changed:
  U   ldapadapter/trunk/README.txt


-=-
Modified: ldapadapter/trunk/README.txt
===================================================================
--- ldapadapter/trunk/README.txt	2004-10-10 17:07:02 UTC (rev 27928)
+++ ldapadapter/trunk/README.txt	2004-10-10 17:15:40 UTC (rev 27929)
@@ -77,7 +77,7 @@
 Add
 ---
 
-Let's add a few simple entries (simplified in this test setting):
+Let's add a few simple entries.
 
   >>> conn.add('dc=test', {'dc': ['test']})
   >>> conn.add('cn=foo,dc=test', {'cn': ['foo'], 'givenName': ['John']})
@@ -99,7 +99,9 @@
    (u'cn=bar,dc=test', {'cn': [u'bar']}),
    (u'cn=baz,dc=test', {'cn': [u'baz']})]
 
-  >>> res = conn.search('dc=test', scope='sub', attrs=['givenName'])
+The default scope is 'sub':
+
+  >>> res = conn.search('dc=test', attrs=['givenName'])
   >>> pprint(res)
   [(u'dc=test', {}),
    (u'cn=foo,dc=test', {'givenName': [u'John']}),
@@ -136,8 +138,8 @@
 Delete
 ------
 
-You delete an entry.
+You can delete an entry.
 
   >>> conn.delete('cn=foo,dc=test')
-  >>> conn.search('cn=foo,dc=test', 'sub')
+  >>> conn.search('cn=foo,dc=test')
   []



More information about the Zope-CVS mailing list