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