Skip to content
Snippets Groups Projects
  • Rafael Guterres Jeffman's avatar
    10b3f461
    pylint: Modify certificate loader function definition. · 10b3f461
    Rafael Guterres Jeffman authored
    This patch modifies the way that the certificate load function is
    defined, depending on the dependency version, so that the resulting
    identifier for the function is always set and static analysis tools,
    like linters don't complain about variables being used before being
    set.
    
    The same idiom is applied to both the ipaclient role and the plugins
    ansible_module_utils.
    10b3f461
    History
    pylint: Modify certificate loader function definition.
    Rafael Guterres Jeffman authored
    This patch modifies the way that the certificate load function is
    defined, depending on the dependency version, so that the resulting
    identifier for the function is always set and static analysis tools,
    like linters don't complain about variables being used before being
    set.
    
    The same idiom is applied to both the ipaclient role and the plugins
    ansible_module_utils.