[*] BO : remove unnecessessary ternary operators
Merge pull request #2143 from dunglas/patch-2

[*] BO : remove unnecessessary ternary operators