Abhijeet Kasurde
51c5b51ea3
Handle error message from psycopg2 using to_native ( #32371 )
...
This fix adds handling of error/exception message using
to_native API instead of decoding.
Also, fixes PEP8 errors.
Fixes : #31825
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2017-11-01 16:11:52 -04:00
Sébastien DA ROCHA
bc4ba6b638
Iptables unit tests ( #30762 )
...
* Add some tests for iptables
* Fix remove bug (calls 2 times check to remove a chain)
* Add me as maintainer
* Fix PEP8
* Doc: Give more information on issue #18988
* Fix #18988 and test it
* Fix doc (thanks Pillou)
* enable PEP8 check for iptables
2017-11-01 12:08:57 +01:00
Satyajit Bulage
52aa522c19
google: PEP8 compliancy fixes ( #32309 )
...
This PR includes:
- PEP8 compliancy fixes
- Documentation fixes
Signed-off-by: Satyajit Bulage <sbulage@redhat.com>
2017-10-31 10:53:31 +01:00
nilhase25
1a43038bc2
Pep8 aos login.py ( #32312 )
...
* fix pep8 issue in consul_kv.py
* fix pep8 issue in aos_login.py
2017-10-30 21:56:34 +05:30
nilhase25
9cff2c376b
fix pep8 issue in consul_kv.py ( #32310 )
2017-10-30 11:37:52 +01:00
Dag Wieers
005c1ce7ba
Sort the PEP8 legacy files ( #32339 )
2017-10-30 10:36:47 +01:00
Dag Wieers
16bbc19674
subversion: PEP8 compliancy and doc fixes ( #30909 )
...
This PR includes:
- PEP8 compliancy fixes
- Documentation fixes
2017-10-30 01:09:00 +01:00
Dag Wieers
86bb82a220
user: PEP8 compliancy and doc fixes ( #30895 )
...
This PR includes:
- PEP8 compliancy fixes
- Documentation fixes
2017-10-30 01:06:37 +01:00
Dag Wieers
63edeb1644
systemd: PEP8 compliancy and doc fixes ( #30892 )
...
This PR includes:
- PEP8 compliancy fixes
- Documentation fixes
2017-10-30 01:04:57 +01:00
Dag Wieers
8b2bf09c49
service: PEP8 compliancy and doc fixes ( #30890 )
...
This PR includes:
- PEP8 compliancy fixes
- Documentation fixes
2017-10-30 01:03:54 +01:00
Dag Wieers
edc0ff481c
seboolean: PEP8 compliancy and doc fixes ( #30888 )
...
This PR includes:
- PEP8 compliancy fixes
- Documentation fixes
2017-10-30 01:02:45 +01:00
Dag Wieers
32775b0caa
hostname: PEP8 compliancy and doc fixes ( #30886 )
...
This PR includes:
- PEP8 compliancy fixes
- Documentation fixes
2017-10-30 01:00:49 +01:00
Dag Wieers
3ae42afbc7
getent: PEP8 compliancy and doc fixes ( #30885 )
...
This PR includes:
- PEP8 compliancy fixes
- Documentation fixes
2017-10-30 00:58:04 +01:00
Dag Wieers
11f8d9659d
at: PEP8 compliancy and doc fixes ( #30881 )
...
This PR includes:
- PEP8 compliancy fixes
- Documentation changes
2017-10-30 00:56:54 +01:00
Dag Wieers
c46401e41f
tempfile: PEP8 compliancy, pylint and docs ( #30859 )
...
This PR includes;
- PEP8 compliancy fixes
- pylint fixes
- Documentation updates
2017-10-30 00:51:19 +01:00
Dag Wieers
f64a8f58a3
synchronize: PEP8 compliancy, pylint and docs ( #30858 )
...
This PR includes;
- PEP8 compliancy fixes
- pylint fixes
- Documentation updates
2017-10-30 00:49:47 +01:00
Dag Wieers
19c3c7fe44
blockinfile: PEP8 compliancy, pylint and docs ( #30845 )
...
This PR includes;
- PEP8 compliancy fixes
- pylint fixes
- Documentation updates
2017-10-30 00:43:18 +01:00
Dag Wieers
fb18e27d87
assemble: PEP8 compliancy, pylint and docs ( #30844 )
...
This PR includes;
- PEP8 compliancy fixes
- pylint fixes
- Documentation updates
2017-10-30 00:41:47 +01:00
Dag Wieers
0129b96065
archive: PEP8 compliancy, pylint and docs ( #30842 )
...
This PR includes;
- PEP8 compliancy fixes
- pylint fixes
- Documentation updates
2017-10-30 00:39:30 +01:00
Aniket Khisti
27694f6909
PEP8 compliancy for os_server_volume module ( #32306 )
2017-10-29 14:15:32 +05:30
Sloane Hertel
c714da7fac
cloudformation_facts: don't fail on nonexistent stack - fixes #23419 ( #23758 )
...
* Allow cloudformation_facts to exit gracefully if stack does not exist
make cloudformation_facts pep8
remove from legacy files
remove unnecessary if statement
Allow cloudformation_facts to exit gracefully if stack does not exist version 2
fix documentation errors
add an example for a hard-fail if a stack doesn't exist
* Remove extra whitespace
* Use the .response attribute since .message isn't present with Python 3
* Don't fail if no stack name is provided and no stacks exist.
2017-10-26 15:18:31 -04:00
Daniel Shepherd
8aeb239f73
[cloud] Update ec2_vpc_net_facts to use Boto3 ( #25375 )
...
* update ec2_vpc_net_facts module to boto3
updated with RETURN values and other requested changes
removed errant extra blank line
another errant extra line removed...auto-linter not working apparently
updates per review
fix typo in RETURN docs
* fix trailing whitespace issue
2017-10-25 13:26:16 -04:00
Tim Rupp
8085c38e05
Refactors the bigip_gtm_facts module ( #31917 )
...
Includes pep fixes and inlining code with current conventions
2017-10-20 18:05:45 -07:00
Eike Frost
1b71fb0499
fix legacy PEP8 violations in zabbix modules, remove test exception for them ( #31702 )
...
* fix legacy PEP8 violations in zabbix_*, remove test exception for them
* fix new pep8 violations for zabbix_maintenance.py
2017-10-16 19:20:54 +02:00
René Moser
8b8d5aaca7
cs_instance: remove CloudStackException dep ( #31724 )
...
- fixes dep
- fix docs
2017-10-14 00:09:57 +02:00
Abhijeet Kasurde
9d811a34c4
pep8 fixes for vmware modules ( #31537 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2017-10-12 07:50:05 +02:00
René Moser
540d53327d
cs_instance_facts: fix pep8 ( #31606 )
2017-10-12 14:00:14 +10:00
Toshio Kuratomi
f38b8d9997
Remove boundary_meter module as the hosted service it configured has been removed. ( #31506 )
...
References #29387
2017-10-12 09:12:37 +10:00
René Moser
e872763877
cs_portforward: remove CloudStackException dep ( #31610 )
...
- fixes pep8
- fixes doc
2017-10-12 00:25:01 +02:00
René Moser
c1121dd5fb
cs_securitygroup_rule: remove CloudStackException dependency ( #31603 )
...
- fixes pep8
- fixes docs
2017-10-11 22:23:00 +02:00
René Moser
af6e89fbc8
cs_securitygroup: remove CloudStackException dep ( #31597 )
...
- fixes pep8
- fixes docs
2017-10-11 20:58:08 +02:00
Rene Moser
d6e1f02990
cs_snapshot_policy: remove CloudStackException dependency
2017-10-11 18:35:54 +02:00
Toshio Kuratomi
b454115e9f
Update test cases
...
* Remove cloudstack, f5, and nxos from the wildcard import whitelist
* Remove nxos and f5 from the get_exception whitelist
* Remove some files from the pep8 legacy whitelist
2017-10-09 21:41:02 -07:00
Toshio Kuratomi
c81314dcb9
Add a hack to test whether type=path should be used in a module
2017-10-09 21:15:56 -07:00
Toshio Kuratomi
5e9384300d
Add boilerplate and remove wildcard imports for openstack modules ( #31461 )
...
* Add boilerplate and remove wildcard imports for openstack modules
* Remove openstack files that are now pep8 compliant from the legacy list
2017-10-09 09:56:26 -07:00
Sofiane Medjkoune
ef72eda172
Adding doc for the description argument of lxd_profile module
2017-10-09 11:11:58 -04:00
Toshio Kuratomi
9c81257ce3
Remove wildcard imports from amazon modules ( #31451 )
...
* Remove wildcard imports from amazon modules
* Remove files from legacy pep8 that now pass
2017-10-09 07:38:41 -07:00
Dag Wieers
ae5d8e5ebb
modprobe: PEP8 compliancy and doc fixes ( #31255 )
...
This PR includes:
- PEP8 compliancy fixes
- Documentation fixes
- Make module a bit more consistent with existing practices
2017-10-08 09:21:58 -04:00
Dag Wieers
17fbeeb2f0
rhn_channel: PEP8 compliancy and doc fixes ( #30912 )
...
This PR includes:
- PEP8 compliancy fixes
- Documentation fixes
2017-10-03 09:50:44 +02:00
Dag Wieers
4a358b5396
foreman: PEP8 compliancy and doc fixes ( #30910 )
...
This PR includes:
- PEP8 compliancy fixes
- Documentation fixes
2017-10-03 09:50:27 +02:00
Dag Wieers
1241d0a3f4
pip: PEP8 compliancy and doc fixes
...
This PR includes:
- PEP8 compliancy fixes
- Documentation fixes
2017-10-02 16:18:56 -04:00
Dag Wieers
bedfd0a5a4
atomic: PEP8 compliancy and doc fixes ( #30918 )
...
This PR includes:
- PEP8 compliancy fixes
- Documentation fixes
2017-09-29 13:17:29 +02:00
Rene Moser
d7fa3ab487
cloudstack: cs_template: remove dependency to CloudStackException
...
* fixes docs
* fixes pep8
2017-09-29 11:11:22 +02:00
Dag Wieers
fde4244d04
kubernetes: PEP8 compliancy and doc fixes ( #30914 )
...
This PR includes:
- PEP8 compliancy fixes
- Documentation fixes
2017-09-29 01:51:23 -04:00
Dag Wieers
0ef87c849f
virt: PEP8 compliancy and doc fixes ( #30917 )
...
This PR includes:
- PEP8 compliancy fixes
- Documentation fixes
2017-09-27 22:37:54 -04:00
René Moser
b444332412
fix pep8 for cloudscale_server ( #30974 )
2017-09-27 11:39:02 -04:00
Dag Wieers
fd91da7297
pacman: PEP8 compliancy and doc fixes ( #30913 )
...
This PR includes:
- PEP8 compliancy fixes
- Documentation fixes
2017-09-27 03:13:18 -04:00
Dag Wieers
91bb211922
redis: PEP8 compliancy and doc fixes ( #30920 )
...
This PR includes:
- PEP8 compliancy fixes
- Documentation fixes
2017-09-27 02:12:06 -04:00
Dag Wieers
125c4b135d
mount: PEP8 compliancy and doc fixes
...
This PR includes:
- PEP8 compliancy fixes
- Documentation fixes
2017-09-27 01:56:08 +02:00
Will Thames
ce2f5d26ab
Improve cloudwatchevent_rule exception handling ( #30823 )
...
* Fix cloudwatchevent_rule exception handling
Where it is currently present, this change fixes the exception handling.
However, there are many places that it is lacking.
Fixes #30806
* Add new exception handling for cloudwatchevent_rule
Ensure all API calls are wrapped with exception handling
* PEP8 tidy up
* Remove unnecessary HAS_BOTO3 import and checks
Tidy up documentation so that NO_QA can be removed
2017-09-26 12:47:24 -04:00