Polish immigrant Walus Walus and Clive Derby-Lewis were convicted of the murder after Walus shot Hani at his home in Boksburg.
At the time of his death Hani was the leader of the South African Communist Party (SACP).
The SACP was present for the judgment and spokesperson Alex Mashilo says they are disappointed but not surprised.