s4-upgradeprovision: remove useless code
authorMatthieu Patou <mat@matws.net>
Mon, 13 Jun 2011 14:37:51 +0000 (18:37 +0400)
committerMatthieu Patou <mat@samba.org>
Sun, 19 Jun 2011 21:21:08 +0000 (23:21 +0200)
source4/scripting/bin/upgradeprovision

index b197c6cb840b2881a4005150507f98bfb030b3e6..735757aa2c89d2adccdd39d9d009e895dba10e71 100755 (executable)
@@ -918,9 +918,6 @@ def checkKeepAttributeWithMetadata(delta, att, message, reference, current,
             else:
                 continue
 
-        if attrUSN is None:
-            delta.remove(att)
-            continue
         if att == "nTSecurityDescriptor":
             cursd = ndr_unpack(security.descriptor,
                 str(current[0]["nTSecurityDescriptor"]))