From b89eda6f0135be495e436bd3f6ccee174d4961c0 Mon Sep 17 00:00:00 2001 From: Sergey Golitsynskiy Date: Tue, 23 Jun 2020 14:40:09 -0400 Subject: [PATCH] Update lib/galaxy/util/inflection.py Co-authored-by: Nicola Soranzo --- lib/galaxy/util/inflection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/util/inflection.py b/lib/galaxy/util/inflection.py index a957a767d39..39d0c9ba63e 100644 --- a/lib/galaxy/util/inflection.py +++ b/lib/galaxy/util/inflection.py @@ -96,7 +96,7 @@ class Inflector(object): return word def _transform(self, rules, word, pluralize=True): - return self._handle_nonchanging(word) or self._handle_irregular(word, pluralize=pluralize) or self._apply_rule(rules, word) or word + return self._handle_nonchanging(word) or self._handle_irregular(word, pluralize=pluralize) or self._apply_rules(rules, word) or word def _handle_nonchanging(self, word): lower_cased_word = word.lower()