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 <mbabinsk@redhat.com>
This commit is contained in:
Lenka Doudova 2016-10-14 10:06:27 +02:00 committed by Martin Babinsky
parent 3938698e07
commit 46aa414445

View File

@ -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',