issue of a writ for an election