From c265b2db3e5e6239374f6705cfd8770bbbd16544 Mon Sep 17 00:00:00 2001 From: Till Maas Date: Oct 21 2019 09:30:37 +0000 Subject: hooks: Fix formatstring Found via https://lgtm.com/projects/g/Pagure/pagure/snapshot/f22fd4a1ad429cea040dab03c96291660e163222/files/pagure/hooks/__init__.py#x51a4b6809e37c4dc:1 --- diff --git a/pagure/hooks/__init__.py b/pagure/hooks/__init__.py index 380b2bc..5774b59 100644 --- a/pagure/hooks/__init__.py +++ b/pagure/hooks/__init__.py @@ -531,7 +531,7 @@ def run_hook_file(hooktype): ) if not project: raise Exception( - "Not able to find the project corresponding to: %%s - s - " + "Not able to find the project corresponding to: %s - %s - " "%s - %s" % (repotype, username, namespace, repo) )