summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-02-26 14:24:38 +1100
committerAndrew Tridgell <tridge@samba.org>2010-02-26 14:27:38 +1100
commit44f9d5aadcd3d86e754b5e899c9ecbaa82dd41e8 (patch)
tree9c13f67d144783541cd9e4f5e6b4e257d4ef990e
parent721bcfa01c28996891893e56a303c42d495c9fcd (diff)
downloadsamba-44f9d5aadcd3d86e754b5e899c9ecbaa82dd41e8.tar.gz
samba-44f9d5aadcd3d86e754b5e899c9ecbaa82dd41e8.tar.bz2
samba-44f9d5aadcd3d86e754b5e899c9ecbaa82dd41e8.zip
s4-provision: if we aren't doing variable substitution then don't check for vars
-rw-r--r--source4/scripting/python/samba/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/__init__.py b/source4/scripting/python/samba/__init__.py
index 3544c49459..5c36673608 100644
--- a/source4/scripting/python/samba/__init__.py
+++ b/source4/scripting/python/samba/__init__.py
@@ -353,7 +353,7 @@ def read_and_sub_file(file, subst_vars):
data = open(file, 'r').read()
if subst_vars is not None:
data = substitute_var(data, subst_vars)
- check_all_substituted(data)
+ check_all_substituted(data)
return data