Except as otherwise expressly provided, all general statutes duly enacted prior to the code of laws enacted by § 2-16-13 and not previously repealed are repealed and superseded by the provisions of the code of laws enacted by § 2-16-13, but such repeal shall not in any case affect the validity of any transaction which shall have occurred prior to the taking effect of such code; nor shall such repeal operate to impair the curative or legalizing effect of any statute theretofore enacted; nor shall such repeal have the effect of releasing or extinguishing any penalty, forfeiture, or liability incurred prior to the taking effect of such code, and all offenses committed and all penalties or forfeitures incurred under any statute repealed prior to such repeal may be prosecuted and punished in the same manner and with the same effect as if the statute relating thereto had not been repealed.
SDCL 2-14-23