kcc: fixed tabs/spaces in kcc python implementation