Fix a couple pylint violations
Merge pull request #1526 from edx/zoldak/fix-pylint

Fix a couple pylint violations