Fixed issues reported by PyFlake