Fixed pylint errors from stbt.py