community.general/lib/ansible/modules
cclauss 14bc625c2c Catch the raised exception so we can report failure (#42177)
[AWS iam_policy] Avoid the _undefined name_ by catching the raised exception into the variable __e__ so it can be reported on the following line.

flake8 testing of https://github.com/ansible/ansible on Python 3.6.3

$ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__
```
./lib/ansible/modules/cloud/amazon/iam_policy.py:305:16: F821 undefined name 'e'
            if e.errno == 2:
               ^
./lib/ansible/modules/cloud/misc/rhevm.py:594:24: F821 undefined name 'e'
            setMsg(str(e))
                       ^
./lib/ansible/modules/files/archive.py:391:92: F821 undefined name 'e'
                module.fail_json(dest=dest, msg='Error deleting some source files: ' + str(e), files=errors)
                                                                                           ^
3    F821 undefined name 'e'
3
```
2018-07-02 08:45:36 -04:00
..
cloud Catch the raised exception so we can report failure (#42177) 2018-07-02 08:45:36 -04:00
clustering update module arguments to allow resource_definition to be a string (#40730) 2018-06-29 09:21:47 -05:00
commands Added executable parameter to the script module (#36969) 2018-05-25 14:40:48 -05:00
crypto new provider: ownca (#35840) 2018-06-21 12:41:00 +05:30
database elasticsearch_plugin - Show STDERR on module failures. (#41954) 2018-06-29 17:28:17 -04:00
files Add warning when using an empty regexp in lineinfile (#42013) 2018-06-29 17:15:43 -07:00
identity Adds description of the group to documentation (#42080) 2018-06-28 15:00:27 -07:00
inventory Fix typo in group_by module (#41627) 2018-06-18 15:33:08 +05:30
messaging rabbitmq_user: Add update_password parameter (#36280) 2018-05-23 14:34:46 -05:00
monitoring Update zabbix_screen.py limit screen columns (#41487) 2018-06-21 07:36:18 -04:00
net_tools Temporarily revert c119d54 2018-06-15 13:00:54 -07:00
network Fix junos_config confirm commit issue (#41527) 2018-06-29 15:09:55 +05:30
notification Fix shebangs and file modes and update tests. (#40563) 2018-05-22 14:25:36 -07:00
packaging Make zypper work with python3 2018-06-25 15:58:24 -04:00
remote_management UCS Server UUID pool modules and integration tests (#41743) 2018-06-29 15:49:47 +02:00
source_control Make use of a better python module for gitlab_group (#40764) 2018-05-29 02:43:40 -04:00
storage Fix API call to get ActiveCluster information and add (#41744) 2018-06-22 10:46:02 -05:00
system pamd module regression fix (#42025) 2018-06-29 16:34:20 -05:00
utilities Improve code style 2018-06-21 13:59:50 -04:00
web_infrastructure Minimizing information needed for second stage from first stage. (#42167) 2018-07-01 10:06:38 -04:00
windows Correct typo in win_domain_computer doc (#42123) 2018-06-29 23:05:07 +02:00
__init__.py