Sec. 1-1-5   Effect of repeal or expiration of ordinances. 
   (a)   The repeal of an ordinance, or its expiration by virtue of any provision contained therein, shall not affect any right accrued, any offense committed, any penalty or punishment incurred or any proceeding commenced before the repeal took effect or the ordinance expired.
   (b)   When an ordinance which repeals another shall itself be repealed, the previous ordinance shall not be revived without express words to that effect.