general penalty as provided in Section 1-14 of such Code shall apply to the section as amended, or in case the amendment contains provisions for which a penalty, other than the aforementioned general penalty, is provided in another section in the same chapter, the penalty so provided in the other section shall be held to relate to the section so amended, unless the penalty is specifically repealed therein.