1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-06 08:59:08 +03:00

Use standard Python syntax, booleans and set()'s where appropriate.

This commit is contained in:
Jelmer Vernooij
2010-06-20 12:06:50 +02:00
parent 66e27e5214
commit 3795358aca
3 changed files with 28 additions and 23 deletions

View File

@ -1497,7 +1497,7 @@ def provision(setup_dir, logger, session_info,
lastProvisionUSNs = get_last_provision_usn(samdb)
maxUSN = get_max_usn(samdb, str(names.rootdn))
if lastProvisionUSNs != None:
if lastProvisionUSNs is not None:
update_provision_usn(samdb, 0, maxUSN, 1)
else:
set_provision_usn(samdb, 0, maxUSN)