diff --git a/anitya/lib/backends/github.py b/anitya/lib/backends/github.py index fb9bb0d4c..14fec47ac 100644 --- a/anitya/lib/backends/github.py +++ b/anitya/lib/backends/github.py @@ -88,8 +88,8 @@ def get_versions(cls, project): (owner, repo) = url.split('/') except ValueError: raise AnityaPluginException( - 'Project %s was incorrectly set-up. ' % project.name + - 'Can\'t parse owner and repo.') + """Project {} was incorrectly set-up. + Can\'t parse owner and repo.""".format(project.name)) query = prepare_query(owner, repo)