core: cleanup pep8 warnings

not shown at my environment...

Change-Id: If3d16997af12e27216bad55339ecfb927ab6cec1
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>