def _apply_workspaces(self, combination, mode):
if len(combination) > <NUM_LIT:1> and mode == "<STR_LIT>":<EOL><INDENT>sleep(<NUM_LIT:3>)<EOL>for output in combination:<EOL><INDENT>workspaces = getattr(self, "<STR_LIT>".format(output), "<STR_LIT>").split(<EOL>"<STR_LIT:U+002C>"<EOL>)<EOL>for workspace in workspaces:<EOL><INDENT>if not workspace:<EOL><INDENT>continue<EOL><DEDENT>cmd = '<STR_LIT>'.format(self.py3.get_wm_msg(), workspace)<EOL>self.py3.command_run(cmd)<EOL>cmd = '<STR_LIT>'.format(<EOL>self.py3.get_wm_msg(), output<EOL>)<EOL>self.py3.command_run(cmd)<EOL>self.py3.log(<EOL>"<STR_LIT>".format(workspace, output)<EOL>)<EOL><DEDENT><DEDENT><DEDENT>
Allows user to force move a comma separated list of workspaces to the
given output when it's activated.

Example:
    - DP1_workspaces = "1,2,3"