All persons imprisoned in the city jail or the county jail upon conviction in any court of competent jurisdiction resulting from a violation of the provisions of any ordinance of the city or this code shall be required to work on public works projects of the city, within or without its corporate limits, including work on public streets, parks, sewer farms, and airports. This section shall apply to all such prisoners, whether confined by virtue of a judgment, a condition of a probationary order, or otherwise, and whether such confinement results from separate, consecutive, or concurrent sentences or other orders of imprisonment. Nothing in this section shall be deemed to inhibit or prevent a court of competent jurisdiction from imposing such other and further conditions of imprisonment as to it may be necessary and proper, nor from exempting any person from all or any of the provisions of this section, as it may deem proper, in any order of probation or suspended sentence which it may make from time to time.
('61 Code, § 1-2.06) (Ord. 148 N.S., passed - - )