Fixing pylint found error