mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fixing PEP8 errors in utils/vars.py
This commit is contained in:
parent
a4b2b0a734
commit
8cc98b07c5
1 changed files with 4 additions and 4 deletions
|
@ -43,10 +43,10 @@ def get_unique_id():
|
|||
global cur_id
|
||||
cur_id += 1
|
||||
return "-".join([
|
||||
node_mac[0:8],
|
||||
node_mac[8:12],
|
||||
random_int[0:4],
|
||||
random_int[4:8],
|
||||
node_mac[0:8],
|
||||
node_mac[8:12],
|
||||
random_int[0:4],
|
||||
random_int[4:8],
|
||||
("%012x" % cur_id)[:12],
|
||||
])
|
||||
|
||||
|
|
Loading…
Reference in a new issue