The provisions of this enactment shall not affect any act done, contract executed, or liability incurred prior to its effective date, or affect any suit or prosecution pending or to be instituted, to enforce any right, rule, regulation, or ordinance or to punish any offense against any such repealed ordinances or against any regulation or procedure enacted under them.