scancommitforcc: python syntax issue