mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-26 22:51:23 -07: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
|
global cur_id
|
||||||
cur_id += 1
|
cur_id += 1
|
||||||
return "-".join([
|
return "-".join([
|
||||||
node_mac[0:8],
|
node_mac[0:8],
|
||||||
node_mac[8:12],
|
node_mac[8:12],
|
||||||
random_int[0:4],
|
random_int[0:4],
|
||||||
random_int[4:8],
|
random_int[4:8],
|
||||||
("%012x" % cur_id)[:12],
|
("%012x" % cur_id)[:12],
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue