commit | d9c2a15831eecb50f4c57dd961e4fe0251f2fa0b | [log] [tgz] |
---|---|---|
author | Petr Lautrbach <plautrba@redhat.com> | Wed May 03 12:30:30 2017 +0200 |
committer | Stephen Smalley <sds@tycho.nsa.gov> | Fri May 05 11:52:19 2017 -0400 |
tree | ff63dcfd71a126fd0821ed29bb19c352270529ae | |
parent | 6dabab268c2ca0f1b0a9dcddbff514e55aed7fb8 [diff] |
sepolicy/generate.py: Fix string formatting Fixes python3 problem: >>> print("Failed to retrieve rpm info for %s") % package Failed to retrieve rpm info for %s Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: unsupported operand type(s) for %: 'NoneType' and 'str' Signed-off-by: Petr Lautrbach <plautrba@redhat.com>