def change(governor, freq=None):
cpu_number = <NUM_LIT:0><EOL>while True:<EOL><INDENT>try:<EOL><INDENT>subprocess.check_output([<EOL>"<STR_LIT>", "<STR_LIT>", "<STR_LIT:-c>",<EOL>"<STR_LIT>"<EOL>.format(governor=governor,<EOL>CPU_PREFIX=CPU_PREFIX,<EOL>cpu_number=cpu_number)],<EOL>stderr=subprocess.STDOUT)<EOL><DEDENT>except:<EOL><INDENT>break<EOL><DEDENT>if freq:<EOL><INDENT>subprocess.check_output([<EOL>"<STR_LIT>", "<STR_LIT>", "<STR_LIT:-c>",<EOL>"<STR_LIT>"<EOL>.format(freq=freq,<EOL>CPU_PREFIX=CPU_PREFIX,<EOL>cpu_number=cpu_number)],<EOL>stderr=subprocess.STDOUT)<EOL><DEDENT>cpu_number += <NUM_LIT:1><EOL><DEDENT>
change function