s4:dbchecker - handle the "none" case correctly
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Thu, 24 May 2012 18:43:17 +0000 (20:43 +0200)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Tue, 29 May 2012 19:36:25 +0000 (21:36 +0200)
This means that *no* fixing will be done, also the first possible one
will be omitted as well.

Reviewed-by: abartlet
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Tue May 29 21:36:25 CEST 2012 on sn-devel-104

source4/scripting/python/samba/dbchecker.py

index 587d63c7cba956c30398bb3ae3e5b6c4f1fc77ce..95be1ceb08ec83f15e8bc91c5f5342903bc57d55 100644 (file)
@@ -110,7 +110,7 @@ class dbcheck(object):
             return True
         if c == 'NONE':
             setattr(self, all_attr, 'NONE')
-            return True
+            return False
         return c
 
     def do_modify(self, m, controls, msg, validate=True):