def _process_codereview_select_options(parser, options):
    if (options.gerrit and options.rietveld):
        parser.error('Options --gerrit and --rietveld are mutually exclusive')
    options.forced_codereview = None
    if options.gerrit:
        options.forced_codereview = 'gerrit'
    elif options.rietveld:
        options.forced_codereview = 'rietveld'
def _process_codereview_select_options(parser, options):
    if (options.gerrit and options.rietveld):
        parser.error('Options --gerrit and --rietveld are mutually exclusive')
    options.forced_codereview = None
    if options.gerrit:
        options.forced_codereview = 'gerrit'
    elif options.rietveld:
        options.forced_codereview = 'rietveld'