summaryrefslogtreecommitdiff
path: root/heat_cfntools/cfntools
diff options
context:
space:
mode:
authormaaoyu <maaoyu@inspur.com>2020-10-12 11:09:52 +0800
committerricolin <rico.lin.guanyu@gmail.com>2020-11-16 13:26:58 +0800
commit5b3dba0c87bcfebbf855681bae7ddbb19438cdaa (patch)
tree1e2134bd6ed1b64bcb48ad74d3ecbe7e14dec978 /heat_cfntools/cfntools
parent22068fb533a793ccef2f097cf2a1b123fd5813ee (diff)
downloadheat-cfntools-5b3dba0c87bcfebbf855681bae7ddbb19438cdaa.tar.gz
Mark support for py38
in 'wallaby' cycle, we should test py38 by default. Also support tox test on py36 and py38 as that's what our check job verify on. ref: https://governance.openstack.org/tc/reference/runtimes/victoria.html Change-Id: I349d80cb1b963bdb30e374994f7c18352f918e3b
Diffstat (limited to 'heat_cfntools/cfntools')
-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