SECTION 40.  VALIDITY OF ORDINANCES, ETC.; ORDINANCES CONFLICTING WITH  CHARTER.
   All ordinances now in effect shall still remain of full force and virtue, excepting when they are in conflict and inconsistent with this Act, and when in conflict or inconsistent with this Act, that portion of such ordinance or ordinances which are in such conflict or inconsistency are hereby repealed.