':param queue_entry_from_group: A HostQueueEntry instance to find other
group entries on this job for.
:return: A list of HostQueueEntry objects all executing this job as
part of the same group as the one supplied (having the same
execution_subdir).'

def get_group_entries(self, queue_entry_from_group):

    execution_subdir = queue_entry_from_group.execution_subdir
    return list(HostQueueEntry.fetch(where='job_id=%s    AND    execution_subdir=%s', params=(self.id, execution_subdir)))
