(a) Except as provided in subsection (b) of this section, the repeal of a statute by enactment of this subtitle does not affect:
(1) The operation of the statute or any action taken under it before the statute’s repeal;
(2) A ratification, right, remedy, privilege, obligation, or liability acquired, accrued, or incurred after the statute’s repeal;
(3) Any violation of the statute, or any penalty, forfeiture, or punishment incurred because of the violation, before its repeal; or
(4) Any proceeding, reorganization, or dissolution commenced under the statute before its repeal.
(b) If a penalty or punishment imposed for a violation of a statute repealed by this subtitle is reduced by this subtitle, the penalty or punishment, if not already imposed, shall be imposed in accordance with this subtitle.