def _transform_cmd(job_cmd):
    if isinstance(job_cmd, list):
        return ' '.join([("'%s'" % cmd) for cmd in job_cmd[1:]])
    return job_cmd
def _transform_cmd(job_cmd):
    if isinstance(job_cmd, list):
        return ' '.join([("'%s'" % cmd) for cmd in job_cmd[1:]])
    return job_cmd