Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

Commit

Permalink
Merge pull request #299 from vhalli/develop
Browse files Browse the repository at this point in the history
Fix #96  "in advance of" should read "newer than"
  • Loading branch information
ralphbean committed Jul 27, 2015
2 parents 55b752b + facff07 commit 6d5f2f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fedmsg_meta_fedora_infrastructure/anitya.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def subtitle(self, msg, **config):
if old and not odd:
tmpl = self._(
'A new version of "{project}" has been detected: '
'"{new}" in advance of "{old}", packaged as "{packages}"')
'"{new}" newer than "{old}", packaged as "{packages}"')

return tmpl.format(project=project, new=new, old=old, packages=packages)
elif 'project.version.remove' in msg['topic']:
Expand Down
4 changes: 2 additions & 2 deletions fedmsg_meta_fedora_infrastructure/tests/anitya.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ class TestNewUpstreamVersion(Base):
"""
expected_title = "anitya.project.version.update"
expected_subti = ('A new version of "2ping" has been detected: "2.1.1" '
'in advance of "2.1.0", packaged as "2ping"')
'newer than "2.1.0", packaged as "2ping"')
expected_link = "https://release-monitoring.org/project/2/"
expected_icon = "https://apps.fedoraproject.org/packages/" + \
"images/icons/package_128x128.png"
Expand Down Expand Up @@ -592,7 +592,7 @@ class TestNewUpstreamVersionMutiMap(Base):
"""
expected_title = "anitya.project.version.update"
expected_subti = ('A new version of "SQLAlchemy" has been detected: '
'"1.0.0b1" in advance of "0.9.9", packaged as '
'"1.0.0b1" newer than "0.9.9", packaged as '
'"python-sqlalchemy and python-sqlalchemy0.5"')
expected_link = "https://release-monitoring.org/project/4034/"
expected_icon = "https://apps.fedoraproject.org/packages/" + \
Expand Down

0 comments on commit 6d5f2f8

Please sign in to comment.