summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2011-12-21 14:53:17 -0500
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2011-12-21 14:53:17 -0500
commita46ec1f9679409f9d3934987fd558fc2107b9ec6 (patch)
tree0c06df34292898e503aa21b9a75efc0aeb6dbda2
parentbd4e7494f7ae8da5bd9af8be688f147796c8a37f (diff)
downloadbcfg2-a46ec1f9679409f9d3934987fd558fc2107b9ec6.tar.gz
bcfg2-a46ec1f9679409f9d3934987fd558fc2107b9ec6.tar.bz2
bcfg2-a46ec1f9679409f9d3934987fd558fc2107b9ec6.zip
fixed bug when no templates are specified to bcfg2-profile-templates.py
-rwxr-xr-xtools/bcfg2-profile-templates.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/bcfg2-profile-templates.py b/tools/bcfg2-profile-templates.py
index e8916e6a4..eba84d02d 100755
--- a/tools/bcfg2-profile-templates.py
+++ b/tools/bcfg2-profile-templates.py
@@ -60,6 +60,8 @@ def main():
if setup['args']:
templates = setup['args']
+ else:
+ templates = []
times = dict()
for plugin in ['Cfg', 'TGenshi', 'TCheetah']: