Neither the adoption of this code nor the repeal of any ordinance of the city shall in any manner affect the prosecution for violation of any ordinance, which violation was committed prior to the effective date hereof, nor shall the same be construed as a waiver of any permit, license, fee, charge or penalty at such effective date required or due and unpaid under such ordinance, nor shall the same be construed as affecting any of the provisions of such ordinance relating to the collection of any such fee, charge or penalty, or the penal provisions applicable to any violation thereof, required to be posted, filed or deposited pursuant to any ordinance, and all rights and obligations thereunder appertaining shall continue in full force and effect.