Skip to content

Commit

Permalink
Use plural/singular form of them/it for patches
Browse files Browse the repository at this point in the history
  • Loading branch information
mpeterv committed Apr 15, 2016
1 parent 15119a1 commit 1745496
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions hererocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -914,8 +914,9 @@ def handle_patches(self):
return

if not opts.patch:
print("Skipping {} patch{}, use --patch to apply them".format(
len(patches), "" if len(patches) == 1 else "es"))
print("Skipping {} patch{}, use --patch to apply {}".format(
len(patches), "" if len(patches) == 1 else "es",
"it" if len(patches) == 1 else "them"))
return

applied = sum(map(self.apply_patch, patches))
Expand Down

0 comments on commit 1745496

Please sign in to comment.