def trigger_luci_job(changelist, masters, options):
    'Send a job to run on LUCI.'
    issue_props = changelist.GetIssueProperties()
    issue = changelist.GetIssue()
    patchset = changelist.GetMostRecentPatchset()
    for builders_and_tests in sorted(masters.itervalues()):
        for builder in sorted(builders_and_tests):
            luci_trigger.trigger(builder, 'HEAD', issue, patchset, issue_props['project'])
Send a job to run on LUCI.
def trigger_luci_job(changelist, masters, options):
    
    issue_props = changelist.GetIssueProperties()
    issue = changelist.GetIssue()
    patchset = changelist.GetMostRecentPatchset()
    for builders_and_tests in sorted(masters.itervalues()):
        for builder in sorted(builders_and_tests):
            luci_trigger.trigger(builder, 'HEAD', issue, patchset, issue_props['project'])