Nothing contained in this chapter shall be construed as abating any action pending under or by virtue of any general ordinance of the city repealed in this chapter. This chapter shall not be deemed as discontinuing, abating, modifying or altering any penalty accrued or to accrue or as affecting the liability of any person or as waiving any right of the county under any ordinance or section thereof in force at the time of the adoption of this Code.