No new ordinance shall be construed or held to repeal a former ordinance, whether such former ordinance is expressly repealed or not, as to any offense committed against the former ordinance or as to any act done, any penalty, forfeiture or punishment so incurred, or any right accrued, or claim arising under the former ordinance, or in any way whatsoever to affect any such offense or act so committed or so done, or any penalty, forfeiture or punishment so incurred or any right accrued or claims arising under the former ordinance, or in any way whatsoever to affect any such offense or act so committed or so done, or any penalty, forfeiture or punishment so incurred or any right accrued or claims arising before the new ordinance takes effect, save only that the proceedings thereafter shall conform to the ordinance in force at the time of such proceedings, so far as practicable. If any penalty, forfeiture or punishment be mitigated by any provision of a new ordinance, such provision may, by consent of the party affected, be applied to any judgment announced after the new ordinance takes effect.
This section shall extend to all repeals, either by express words or by implication, whether the repeal is in the ordinance making any new provisions upon the same subject or any other ordinance.
Nothing contained in this or the preceding section shall be construed as abating any action now pending under or by virtue of any general ordinance of the city herein repealed; or as discontinuing, abating, modifying or altering any penalty accrued or to accrue, or as affecting the liability of any person, firm or corporation, or as waiving any right of the city under any section or provision of ordinances existing at the time of the passage of this code.
(Prior code § 21.403).