Commit Graph

1 Commits (e3ff824ead57392e22f0b67a6cc73f53e59ce552)

Author SHA1 Message Date
Hiroaki Nakamura 2357194b39 Add failed_when module variable.
Implementation note: Ternery operator trick for python prior to 2.5 is used.
(test and [when_true_value] or [when_false_value])[0]
http://stackoverflow.com/questions/394809/ternary-conditional-operator-in-python#comment1466794_394887
11 years ago