diff options
author | Matthieu Patou <mat@matws.net> | 2010-06-10 01:00:43 +0400 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-06-20 00:43:08 +0200 |
commit | 423f99172efcb57a654af5a6fcbad1045f210027 (patch) | |
tree | e3f91af8a5c7df6261d0cb7a63d6fa3da62ccf11 /source4/scripting | |
parent | fbeacc1013bc3a95f19d7932a2bbf3d28176a977 (diff) | |
download | samba-423f99172efcb57a654af5a6fcbad1045f210027.tar.gz samba-423f99172efcb57a654af5a6fcbad1045f210027.tar.bz2 samba-423f99172efcb57a654af5a6fcbad1045f210027.zip |
s4 upgradeprovision: Restyle imports
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Diffstat (limited to 'source4/scripting')
-rwxr-xr-x | source4/scripting/bin/upgradeprovision | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/source4/scripting/bin/upgradeprovision b/source4/scripting/bin/upgradeprovision index c08459a2e4..0fc60f1ce2 100755 --- a/source4/scripting/bin/upgradeprovision +++ b/source4/scripting/bin/upgradeprovision @@ -1,7 +1,7 @@ #!/usr/bin/env python # vim: expandtab # -# Copyright (C) Matthieu Patou <mat@matws.net> 2009 +# Copyright (C) Matthieu Patou <mat@matws.net> 2009 - 2010 # # Based on provision a Samba4 server by # Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2007-2008 @@ -37,26 +37,26 @@ import samba import samba.getopt as options from samba.credentials import DONT_USE_KERBEROS from samba.auth import system_session, admin_session -from ldb import SCOPE_SUBTREE, SCOPE_BASE,\ - FLAG_MOD_REPLACE, FLAG_MOD_ADD, FLAG_MOD_DELETE,\ - MessageElement, Message, Dn +from ldb import (SCOPE_SUBTREE, SCOPE_BASE, + FLAG_MOD_REPLACE, FLAG_MOD_ADD, FLAG_MOD_DELETE, + MessageElement, Message, Dn) from samba import param from samba.misc import messageEltFlagToString -from samba.provision import find_setup_dir, get_domain_descriptor,\ - get_config_descriptor, secretsdb_self_join,\ - ProvisioningError, getLastProvisionUSN,\ - get_max_usn, updateProvisionUSN +from samba.provision import (find_setup_dir, get_domain_descriptor, + get_config_descriptor, secretsdb_self_join, + ProvisioningError, getLastProvisionUSN, + get_max_usn, updateProvisionUSN) from samba.schema import get_linked_attributes, Schema, get_schema_descriptor from samba.dcerpc import security, drsblobs from samba.ndr import ndr_unpack from samba.dcerpc.misc import SEC_CHAN_BDC -from samba.upgradehelpers import dn_sort, get_paths, newprovision,\ - find_provision_key_parameters, get_ldbs,\ - usn_in_range, identic_rename, get_diff_sddls, \ - update_secrets, CHANGE, ERROR, SIMPLE,\ - CHANGEALL, GUESS, CHANGESD, PROVISION,\ - updateOEMInfo, getOEMInfo, update_gpo,\ - delta_update_basesamdb +from samba.upgradehelpers import (dn_sort, get_paths, newprovision, + find_provision_key_parameters, get_ldbs, + usn_in_range, identic_rename, get_diff_sddls, + update_secrets, CHANGE, ERROR, SIMPLE, + CHANGEALL, GUESS, CHANGESD, PROVISION, + updateOEMInfo, getOEMInfo, update_gpo, + delta_update_basesamdb) replace=2**FLAG_MOD_REPLACE add=2**FLAG_MOD_ADD |