Fixed some pylint code style issues