Better python style
Removed local logging