Fix not optimal variable assignment (#207)

pull/191/head
artraf 2022-10-14 17:35:33 +02:00 committed by GitHub
parent e3e4f7595d
commit 61665ea45a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -0,0 +1,3 @@
---
trivial:
- Update simple class definition. (https://github.com/ansible-collections/ansible.utils/pull/207)

View File

@ -39,9 +39,8 @@ except ImportError:
else:
class mac_linux(netaddr.mac_unix):
pass
word_fmt = "%.2x"
mac_linux.word_fmt = "%.2x"
DOCUMENTATION = """
name: hwaddr