§ 130.13. Punishment prohibited before trial. Subject to the provisions of section 130.57, no person, while being held for trial or the results of trial, shall be subjected to punishment or penalty other than arrest or confinement upon the charges pending against him, nor shall the arrest or confinement imposed upon him be any more rigorous than the circumstances require to insure his presence, but he may be subjected to minor punishment during such period for infractions of discipline.