ticket:3 code style fixes to please PEP8