The provisions of this Part shall not affect any act done or liability incurred, nor shall they affect any suit or prosecution pending or to be instituted to enforce any right or penalty or to punish any offense under the authority of the repealed ordinances.