From a46ec1f9679409f9d3934987fd558fc2107b9ec6 Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Wed, 21 Dec 2011 14:53:17 -0500 Subject: fixed bug when no templates are specified to bcfg2-profile-templates.py --- tools/bcfg2-profile-templates.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/bcfg2-profile-templates.py') 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']: -- cgit v1.2.3-1-g7c22