Skip to content
Snippets Groups Projects
  • Rafael Guterres Jeffman's avatar
    52241fe2
    pylint: ensure variables are initialized · 52241fe2
    Rafael Guterres Jeffman authored
    pylint doesn't know that some functions may terminate execution, like,
    AnsibleModule's fail_json, and assume that, depending on the code path,
    some variables may not be initialized when used.
    
    This change ensure that variables are always initialized independent of
    the code path.
    52241fe2
    History
    pylint: ensure variables are initialized
    Rafael Guterres Jeffman authored
    pylint doesn't know that some functions may terminate execution, like,
    AnsibleModule's fail_json, and assume that, depending on the code path,
    some variables may not be initialized when used.
    
    This change ensure that variables are always initialized independent of
    the code path.