def get_config_protect():
     for line in get_command_output_iterator(["pconfig", "dump-uncollapsed"]):
         match = re.match(r"'CONFIG_PROTECT' = '(.*)'", line)
         if match:
             return match.group(1).split(" ")
     return []
 def get_config_protect():
     for line in get_command_output_iterator(["emerge", "--info"]):
         match = re.match(r'CONFIG_PROTECT="(.*)"', line)
         if match:
             return match.group(1).split(" ")
     return []