Resolve python3 linting issue