(1) Where an offence is declared by this Code or by any other enactment to be an indictable offence, and no punishment for the offence is specified, a person convicted of the offence shall be liable to imprisonment for 5 years.
(2) Where an offence may be tried under this Code or by any other enactment, either as an indictable offence or a summary offence and no punishment for the offence is specified, a person convicted of the offence summarily shall be liable to imprisonment for 3 years.