No suit or prosecution, pending at the time of the repeal of any act, for any offense committed or for the recovery of a penalty or forfeiture incurred under the act so repealed, shall be affected by such repeal.