Fix not optimal variable assignment (#207)
parent
e3e4f7595d
commit
61665ea45a
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
trivial:
|
||||||
|
- Update simple class definition. (https://github.com/ansible-collections/ansible.utils/pull/207)
|
|
@ -39,9 +39,8 @@ except ImportError:
|
||||||
else:
|
else:
|
||||||
|
|
||||||
class mac_linux(netaddr.mac_unix):
|
class mac_linux(netaddr.mac_unix):
|
||||||
pass
|
word_fmt = "%.2x"
|
||||||
|
|
||||||
mac_linux.word_fmt = "%.2x"
|
|
||||||
|
|
||||||
DOCUMENTATION = """
|
DOCUMENTATION = """
|
||||||
name: hwaddr
|
name: hwaddr
|
||||||
|
|
Loading…
Reference in New Issue