Skip to content

Commit

Permalink
Fix typo in versionchecker
Browse files Browse the repository at this point in the history
There was a typo in versionChecker.py where it would not properly
singularize the word 'commit' if the user is only 1 commit behind.
  • Loading branch information
spikegrobstein committed May 23, 2012
1 parent b3a7afe commit 5355b56
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sickbeard/versionChecker.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,9 @@ def set_newest_text(self):
message = "or else you're ahead of master"

elif self._num_commits_behind > 0:
message = "you're "+str(self._num_commits_behind)+' commits behind'
message = "you're %d commit" % self._num_commits_behind
if self._num_commits_behind > 1: message += 's'
message += ' behind'

else:
return
Expand Down

0 comments on commit 5355b56

Please sign in to comment.