From 3213d1e0b770690b1a964f38fb57ebbcd8ce0746 Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Thu, 25 Aug 2011 18:05:28 +0200 Subject: upgradeprovision: treat provision without oem attribute as quite recent, it's provision that comes from Windows replication --- source4/scripting/bin/upgradeprovision | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/scripting') diff --git a/source4/scripting/bin/upgradeprovision b/source4/scripting/bin/upgradeprovision index f4031206c9..35e469693c 100755 --- a/source4/scripting/bin/upgradeprovision +++ b/source4/scripting/bin/upgradeprovision @@ -1805,7 +1805,7 @@ if __name__ == '__main__': deltaattr = None # 11) message(GUESS, oem) - if hasATProvision(ldbs.sam) or re.match(".*alpha((9)|(\d\d+)).*", str(oem)): + if oem is None or hasATProvision(ldbs.sam) or re.match(".*alpha((9)|(\d\d+)).*", str(oem)): # 11) A # Starting from alpha9 we can consider that the structure is quite ok # and that we should do only dela -- cgit