mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-18 16:31:26 -07:00
Fix pylint and pep8 issues exposed by latest ansible-core's ansible-test sanity checks (#8720)
* Remove bad whitespace. * 'Fixing' various used-before-assignment issues that pylint flagged.
This commit is contained in:
parent
5b2711bbd3
commit
9a16eaf9ba
11 changed files with 16 additions and 1 deletions
|
@ -740,6 +740,8 @@ class ProxmoxLxcAnsible(ProxmoxAnsible):
|
|||
# If not, we have proxmox create one using the special syntax
|
||||
except Exception:
|
||||
vol_string = "{storage}:{size}".format(storage=storage, size=size)
|
||||
else:
|
||||
raise AssertionError('Internal error')
|
||||
|
||||
# 1.3 If we have a host_path, we don't have storage, a volume, or a size
|
||||
vol_string = ",".join(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue