Update lib/galaxy/util/inflection.py

Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
This commit is contained in:
Sergey Golitsynskiy
2020-06-23 14:40:09 -04:00
committed by GitHub
co-authored by Nicola Soranzo
parent 7e85a8f360
commit b89eda6f01
+1 -1
View File
@@ -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()