def extract_committees(bill):
bill_id = bill.get('<STR_LIT>', None)<EOL>logger.debug("<STR_LIT>".format(bill_id))<EOL>committees = bill.get('<STR_LIT>', None)<EOL>committee_map = []<EOL>for c in committees:<EOL><INDENT>logger.debug("<STR_LIT>".format(c.get('<STR_LIT>')))<EOL>c_list = []<EOL>sub = c.get('<STR_LIT>')<EOL>if sub:<EOL><INDENT>logger.debug("<STR_LIT>")<EOL>c_list.append('<STR_LIT>')  <EOL>c_list.append(c.get('<STR_LIT>'))<EOL>sub_id = "<STR_LIT>".format(<EOL>c.get('<STR_LIT>'), c.get('<STR_LIT>'))<EOL>logger.debug("<STR_LIT>".format(sub_id))<EOL>c_list.append(sub_id)<EOL><DEDENT>else:<EOL><INDENT>c_list.append('<STR_LIT>')<EOL>c_list.append(c.get('<STR_LIT>'))<EOL>c_list.append(c.get('<STR_LIT>'))<EOL><DEDENT>c_list.append(bill_id)<EOL>committee_map.append(c_list)<EOL><DEDENT>return committee_map<EOL>
Returns committee associations from a bill.