From 7ae53ef169555aed818d30e455312c9c75b6ab51 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Mon, 27 Oct 2003 23:57:34 +0000 Subject: [PATCH] Added loss to the plurals dictionary. --- src/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/utils.py b/src/utils.py index 816f6b7c8..2f2c3adaf 100755 --- a/src/utils.py +++ b/src/utils.py @@ -289,7 +289,8 @@ def ellipsisify(s, n): return (textwrap.wrap(s, n-3)[0] + '...') plurals = TwoWayDictionary({'match': 'matches', - 'patch': 'patches',}) + 'patch': 'patches', + 'loss': 'losses'}) def _matchCase(s1, s2): """Matches the case of s1 in s2""" L = list(s2)