Skip to content

Commit

Permalink
Fix string format
Browse files Browse the repository at this point in the history
  • Loading branch information
Zlopez authored and mergify[bot] committed Sep 20, 2018
1 parent d1ed9fa commit 01d8d5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions anitya/lib/backends/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 01d8d5e

Please sign in to comment.