[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha2-368-gd6b06fc

Jelmer Vernooij jelmer at samba.org
Fri Jan 11 15:28:42 GMT 2008


The branch, v4-0-test has been updated
       via  d6b06fc03e37781f5f59b15cff8fe3ee8df63444 (commit)
      from  f056f624958af79204c972eba3f85e36e93daed7 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test


- Log -----------------------------------------------------------------
commit d6b06fc03e37781f5f59b15cff8fe3ee8df63444
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Fri Jan 11 16:28:17 2008 +0100

    python: Fix typo.

-----------------------------------------------------------------------

Summary of changes:
 source/scripting/python/samba/__init__.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/scripting/python/samba/__init__.py b/source/scripting/python/samba/__init__.py
index e858180..4839296 100644
--- a/source/scripting/python/samba/__init__.py
+++ b/source/scripting/python/samba/__init__.py
@@ -121,14 +121,14 @@ class Ldb(ldb.Ldb):
         # and the rest
         for msg in self.search(basedn, ldb.SCOPE_SUBTREE, 
                 "(&(|(objectclass=*)(distinguishedName=*))(!(distinguishedName=@BASEINFO)))", 
-                ["dn"]):
+                ["distinguishedName"]):
             try:
                 self.delete(msg.dn)
             except ldb.LdbError, (LDB_ERR_NO_SUCH_OBJECT, _):
                 # Ignor eno such object errors
                 pass
 
-        res = self.search(basedn, ldb.SCOPE_SUBTREE, "(&(|(objectclass=*)(distinguishedName=*))(!(distinguisedName=@BASEINFO)))", ["dn"])
+        res = self.search(basedn, ldb.SCOPE_SUBTREE, "(&(|(objectclass=*)(distinguishedName=*))(!(distinguishedName=@BASEINFO)))", ["distinguishedName"])
         assert len(res) == 0
 
     def erase_partitions(self):


-- 
Samba Shared Repository


More information about the samba-cvs mailing list