nit: follow our python style guide: https://github.com/edx/edx-platform/wiki/Python-Guidelines