Fix pylint violation.
Merge pull request #5928 from edx/diana/fix-pylint-complaint

Fix pylint violation.