diff options
author | Joshua Powers <josh.powers@canonical.com> | 2020-06-02 09:06:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-02 12:06:07 -0400 |
commit | d53921ea3396c8301c65cad3abf04b4542d4b7a0 (patch) | |
tree | d19c4271786853d2da050749dc5a65dc95878327 /cloudinit/sources | |
parent | 5f7825e22241423322dbe628de1b00289cf34114 (diff) | |
download | vyos-cloud-init-d53921ea3396c8301c65cad3abf04b4542d4b7a0.tar.gz vyos-cloud-init-d53921ea3396c8301c65cad3abf04b4542d4b7a0.zip |
test: fix all flake8 E121 and E123 errors (#404)
This fixes issues with closing brackets not matching the opening
bracket's line and continuation line under-idented for hanging indent.
Diffstat (limited to 'cloudinit/sources')
-rwxr-xr-x | cloudinit/sources/helpers/azure.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cloudinit/sources/helpers/azure.py b/cloudinit/sources/helpers/azure.py index fc760581..82b6730c 100755 --- a/cloudinit/sources/helpers/azure.py +++ b/cloudinit/sources/helpers/azure.py @@ -64,13 +64,15 @@ def is_byte_swapped(previous_id, current_id): return ''.join(dd) parts = current_id.split('-') - swapped_id = '-'.join([ + swapped_id = '-'.join( + [ swap_bytestring(parts[0]), swap_bytestring(parts[1]), swap_bytestring(parts[2]), parts[3], parts[4] - ]) + ] + ) return previous_id == swapped_id |