fix pylint warnings

Change-Id: I924988820399dd64a906fb95478adb012bcc29f0