threading pep8 fix