ksgen: minor pep8 correction

Change-Id: Ia9ef4fc328d50859ae41f963ffd8469cf99e073e