def process_params(self, params):
for key, val in params.items():<EOL><INDENT>if key in LAUNCH_DATA_PARAMETERS and val != '<STR_LIT:None>':<EOL><INDENT>if key == '<STR_LIT>':<EOL><INDENT>if isinstance(val, list):<EOL><INDENT>self.roles = list(val)<EOL><DEDENT>else:<EOL><INDENT>self.roles = val.split('<STR_LIT:U+002C>')<EOL><DEDENT><DEDENT>else:<EOL><INDENT>setattr(self, key, touni(val))<EOL><DEDENT><DEDENT>elif '<STR_LIT>' in key:<EOL><INDENT>self.custom_params[key] = touni(val)<EOL><DEDENT>elif '<STR_LIT>' in key:<EOL><INDENT>self.ext_params[key] = touni(val)<EOL><DEDENT><DEDENT>
Populates the launch data from a dictionary. Only cares about keys in
the LAUNCH_DATA_PARAMETERS list, or that start with 'custom_' or
'ext_'.