commit:     e1bae914feb92e8694572ca02bc11184d10d85a7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 15 11:59:34 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jul 15 11:59:34 2019 +0000
URL:        https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=e1bae914

eclass-eapi-matrix: Fix python syntax

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 eclass-eapi-matrix.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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:

Reply via email to