JUDGMENT
HAYFRON Ag. J.
The appellant on being charged with the offence of assault pleaded that he was guilty. The trial court, without hearing the facts of the case from the prosecutor, proceeded to convict and, subsequently, to sentence the accused to two months' imprisonment with hard labour. After the conviction but before sentence the court heard and recorded the facts and then heard the appellant who stated that he regretted assaulting his own headman.*Page 82The appellant has appealed on the ground that the learned trial judge was wrong in law in convicting him, and relied on section 171 (2) of the Criminal Procedure Code, 1960 (Act 30). That subsection, to the extent that it applies to the present case, reads as follows:
"171. (2) If the plea is one of guilty the plea shall be recorded as nearly as possible in the words used,… and the Court shall convict the accused person and pass sentence or make an order against him, unless there shall appear to it sufficient cause to the con…