testing/trigger_scripts/base_test_triggerer.py
def indices_to_trigger(self, args):
        """Returns the indices of the swarming shards that should be
        triggered."""
        if args.shard_index is None:
            return list(range(args.shards))
        else:
            return [args.shard_index]
Returns the indices of the swarming shards that should be
        triggered.
Returns the indices of the swarming shards that should be
triggered.
Returns the indices of the swarming shards that should be triggered .
def indices_to_trigger(self, args):
        if args.shard_index is None:
            return list(range(args.shards))
        else:
            return [args.shard_index]
def indices_to_trigger ( self , args ) : if args . shard_index is None : return list ( range ( args . shards ) ) else : return [ args . shard_index ]
Returns the indices of the swarming shards that should be
triggered.
Returns the indices of the swarming shards that should be triggered .
"""Returns the indices of the swarming shards that should be
        triggered."""
self
args