summaryrefslogtreecommitdiff
path: root/indra/cmake
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2015-01-07 17:11:19 -0500
committerNat Goodspeed <nat@lindenlab.com>2015-01-07 17:11:19 -0500
commit087e497ab5776d54da7ee0ae4550679c65df28e4 (patch)
tree9868b6642c03589b097ca69fd51258961c78be61 /indra/cmake
parent8ec4e83d5d9535de3b109728cc5e810770d4a749 (diff)
Replace reduce(operator.or_, ...) with any(...).
The any() builtin was introduced in Python 2.5. Not only is its intent clearer, but it handles the case of zero items -- which the reduce(or_) construct does not. Sporadically we've seen exceptions from generate_breakpad_symbols.py when reduce(or_, ...) is given zero items. This masks the actual error (failure to dump symbols? failure to read them?), masquerading as a bug in the Python script.
Diffstat (limited to 'indra/cmake')
0 files changed, 0 insertions, 0 deletions