The term "infamous crime," when used in any statute, shall mean offenses punished with death or confinement in the penitentiary.