All building permits, which were previously issued under any previous zoning ordinance for the city such ordinance being repealed by the adoption of the ordinance from which this chapter is derived, shall not be affected by the provisions of this chapter, except as otherwise provided herein.