If at the expiration of the time for filing statements of candidates to be voted for at any preliminary election not more than twice as many such statements have been filed with the city clerk for an office as are to be elected to such office, the candidates whose statements have thus been filed shall be deemed to have been nominated to said office, and their names shall be voted on for such office at the succeeding regular or special election, as the case may be, and the city clerk shall not print said names upon the ballot to be used at said preliminary election and no other nomination to said office shall be made. If in consequence it shall appear that no names are to be printed upon the official ballot to be used at any preliminary election in any ward or wards of the city, no preliminary election shall be held in any such ward or wards.
Mass. Gen. Laws ch. 43, § 44G