def _group_flush(self,group,name):
njobs = len(group)<EOL>if njobs:<EOL><INDENT>plural = {<NUM_LIT:1>:'<STR_LIT>'}.setdefault(njobs,'<STR_LIT:s>')<EOL>print('<STR_LIT>' % (njobs,name,plural))<EOL>group[:] = []<EOL>return True<EOL><DEDENT>
Flush a given job group

        Return True if the group had any elements.