From 46aa41444521a1746d584b703054e2a971915dc6 Mon Sep 17 00:00:00 2001 From: Lenka Doudova Date: Nov 14 2016 13:32:10 +0000 Subject: Add file_exists method as a member of transport object Method file_exists is reported by pylint as not being a member of transport object, however it is used as such. Adding the method to object to avoid pylint errors or unnecessary pylint disable. https://fedorahosted.org/freeipa/ticket/6400 Reviewed-By: Martin Babinsky --- diff --git a/pylint_plugins.py b/pylint_plugins.py index bf35773..fc2ce9b 100644 --- a/pylint_plugins.py +++ b/pylint_plugins.py @@ -237,7 +237,7 @@ ipa_class_members = { 'stderr_text', 'returncode', ]}, - {'transport': ['put_file']}, + {'transport': ['put_file', 'file_exists']}, 'put_file_contents', 'get_file_contents', 'ldap_connect',