Private GIT

Skip to content
Snippets Groups Projects
Commit 5355b56d authored by Spike Grobstein's avatar Spike Grobstein
Browse files

Fix typo in versionchecker

There was a typo in versionChecker.py where it would not properly
singularize the word 'commit' if the user is only 1 commit behind.
parent b3a7afef
Branches
Tags
No related merge requests found
......@@ -330,7 +330,9 @@ class GitUpdateManager(UpdateManager):
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment