aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-07-15 13:59:34 +0200
committerMichał Górny <mgorny@gentoo.org>2019-07-15 13:59:34 +0200
commite1bae914feb92e8694572ca02bc11184d10d85a7 (patch)
tree981f855dfc0d489303be9d1d41c8177213ca6498 /eclass-eapi-matrix.py
parenteclass-eapi-matrix: Avoid crash when @SUPPORTED_EAPIS is false (diff)
downloadqa-scripts-e1bae914feb92e8694572ca02bc11184d10d85a7.tar.gz
qa-scripts-e1bae914feb92e8694572ca02bc11184d10d85a7.tar.bz2
qa-scripts-e1bae914feb92e8694572ca02bc11184d10d85a7.zip
eclass-eapi-matrix: Fix python syntax
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass-eapi-matrix.py')
-rwxr-xr-xeclass-eapi-matrix.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass-eapi-matrix.py b/eclass-eapi-matrix.py
index 452660f..0f465e1 100755
--- a/eclass-eapi-matrix.py
+++ b/eclass-eapi-matrix.py
@@ -84,7 +84,7 @@ def format_table(data):
for eapi in all_eapis:
if supp_eapis is not None and eapi not in supp_eapis:
if eapis.get(eapi, 0) > 0:
- line['eapi_'+eapi] = eapis[eapi] + '?!'
+ line['eapi_'+eapi] = '%d?!' % eapis[eapi]
else:
line['eapi_'+eapi] = 'xx'
else: