diff options
author | Lenka Doudova <ldoudova@redhat.com> | 2016-10-14 10:06:27 +0200 |
---|---|---|
committer | Martin Babinsky <mbabinsk@redhat.com> | 2016-11-14 14:32:10 +0100 |
commit | 46aa41444521a1746d584b703054e2a971915dc6 (patch) | |
tree | 88a3c54bf85147486e333d819f264c8d7fcf432d /pylint_plugins.py | |
parent | 3938698e07404acfd7ae84fcaae9c02850d1afa7 (diff) | |
download | freeipa-46aa41444521a1746d584b703054e2a971915dc6.tar.gz freeipa-46aa41444521a1746d584b703054e2a971915dc6.tar.xz freeipa-46aa41444521a1746d584b703054e2a971915dc6.zip |
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>
Diffstat (limited to 'pylint_plugins.py')
-rw-r--r-- | pylint_plugins.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint_plugins.py b/pylint_plugins.py index bf357737c..fc2ce9bb3 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', |