summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-03-28 22:42:31 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-03-28 22:42:31 +0200
commit66375cfba24fcf92122e83afeecaa14b9b2e3d2e (patch)
tree52399d82df11fd57977ec0c2c9124032bea5a91c
parentf4e314457f5ec7857d59a52cb2318bea8e6f579e (diff)
downloadsamba-66375cfba24fcf92122e83afeecaa14b9b2e3d2e.tar.gz
samba-66375cfba24fcf92122e83afeecaa14b9b2e3d2e.tar.bz2
samba-66375cfba24fcf92122e83afeecaa14b9b2e3d2e.zip
provision: Remove unnecessary whitespace.
-rw-r--r--source4/scripting/python/samba/provision.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/source4/scripting/python/samba/provision.py b/source4/scripting/python/samba/provision.py
index 1d5e61c485..9e7f1372c2 100644
--- a/source4/scripting/python/samba/provision.py
+++ b/source4/scripting/python/samba/provision.py
@@ -236,7 +236,7 @@ def setup_add_ldif(ldb, ldif_path, subst_vars=None,controls=["relax:0"]):
"""
assert isinstance(ldif_path, str)
data = read_and_sub_file(ldif_path, subst_vars)
- ldb.add_ldif(data,controls)
+ ldb.add_ldif(data, controls)
def setup_modify_ldif(ldb, ldif_path, subst_vars=None):
@@ -247,7 +247,6 @@ def setup_modify_ldif(ldb, ldif_path, subst_vars=None):
:param subst_vars: Optional dictionary with substitution variables.
"""
data = read_and_sub_file(ldif_path, subst_vars)
-
ldb.modify_ldif(data)
@@ -301,13 +300,9 @@ def provision_paths_from_lp(lp, dnsdomain):
paths.hku = "hku.ldb"
paths.hkpd = "hkpd.ldb"
paths.hkpt = "hkpt.ldb"
-
paths.sysvol = lp.get("path", "sysvol")
-
paths.netlogon = lp.get("path", "netlogon")
-
paths.smbconf = lp.configfile
-
return paths