Fix a couple pylint violations

@wedaly