All ordinances or parts of ordinances, each of a general nature in conflict with ordinances appearing in this Code, but only such ordinances or parts of ordinances as are in conflict herewith, are hereby repealed; however, nothing herein contained shall be construed or taken as repealing or amending any of the provisions of any ordinance heretofore adopted as to any offense committed against the provisions of the ordinance or as to any act done, any penalty, forfeiture or punishment incurred under or by reason of the ordinance, prior to the time this Code takes effect, except as provided herein.