This would be ok if it applied equally to Democrats — which it doesn’t.
Obama’s Kathleen Sibelius and Julian Castro were busted for Hatch Act violations. Punishment is inconsequential unless something deeper is involved.