From 863f04af0e421ae88db35f9a452fff7d8196dc96 Mon Sep 17 00:00:00 2001 From: Angus Salkeld Date: Thu, 3 May 2012 22:33:23 +1000 Subject: [PATCH] Fix unbound error in cfn_helper. Signed-off-by: Angus Salkeld --- heat/cfntools/cfn_helper.py | 1 + 1 file changed, 1 insertion(+) diff --git a/heat/cfntools/cfn_helper.py b/heat/cfntools/cfn_helper.py index e56ed49e..fa0812ea 100644 --- a/heat/cfntools/cfn_helper.py +++ b/heat/cfntools/cfn_helper.py @@ -573,6 +573,7 @@ class SourcesHandler(object): return '/tmp/%s' % (sp[-1]) def _decompress(self, archive, dest_dir): + cmd_str = '' (r, ext) = os.path.splitext(archive) if ext is 'tar.gz' or ext is 'tgz': cmd_str = 'tar -C %s -xzf %s' % (dest_dir, archive) -- 2.45.2