... that British outrage at the sentencing of a white Kenyan settler to just two years imprisonment for the 1923 killing of a black employee eventually led to the replacement of the colony's legal code? Source: "Sheridan elected to award the minimum sentence of two years rigorous imprisonment" from page 487 of Anderson, David M. (September 2011). "Punishment, Race and 'The Raw Native': Settler Society and Kenya's Flogging Scandals, 1895–1930". Journal of Southern African Studies. 37 (3): 479–497. doi:10.1080/03057070.2011.602887. The Colonial Office's outrage and attempts at reform, culminating in the 1930 replacement of the Indian Penal Code are covered at length in the subsequent pages
ALT1: ... that in 1923 a white settler in Kenya who flogged a black employee to death received just two years imprisonment? Source: Per above