1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/1200112cd51a/ changeset: 1200112cd51a user: dannon date: 2012-04-02 22:58:16 summary: Fix inflector for n == 0 affected #: 1 file diff -r 3f9b7d8a617d60cc319d6e00c485839fc1ec4e6c -r 1200112cd51a35c47b9a35bd055dc4c825983cd5 lib/galaxy/util/inflection.py --- a/lib/galaxy/util/inflection.py +++ b/lib/galaxy/util/inflection.py @@ -14,7 +14,7 @@ def cond_plural(self, number_of_records, word) : '''Returns the plural form of a word if first parameter is greater than 1''' - if number_of_records > 1 : + if number_of_records != 1: return self.pluralize(word) else : return word @@ -385,4 +385,4 @@ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THIS SOFTWARE OR THE USE OR OTHER DEALINGS IN -# THIS SOFTWARE. \ No newline at end of file +# THIS SOFTWARE. Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.