summaryrefslogtreecommitdiff
path: root/heat_cfntools/cfntools/cfn_helper.py
diff options
context:
space:
mode:
Diffstat (limited to 'heat_cfntools/cfntools/cfn_helper.py')
-rw-r--r--heat_cfntools/cfntools/cfn_helper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/heat_cfntools/cfntools/cfn_helper.py b/heat_cfntools/cfntools/cfn_helper.py
index 4490e6c..decb5d0 100644
--- a/heat_cfntools/cfntools/cfn_helper.py
+++ b/heat_cfntools/cfntools/cfn_helper.py
@@ -311,7 +311,7 @@ class RpmHelper(object):
Arguments:
pkg -- A package name
"""
- cmd = "rpm -q --queryformat '%{VERSION}-%{RELEASE}' %s" % pkg
+ cmd = "rpm -q --queryformat '%%{VERSION}-%%{RELEASE}' %s" % pkg
command = CommandRunner(cmd).run()
return command.stdout