mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
lint pep8
This commit is contained in:
parent
15c6deba62
commit
42c710e4d1
1 changed files with 1 additions and 1 deletions
|
@ -1340,7 +1340,7 @@ def hex2ip(hex_ip, invert=False):
|
|||
try:
|
||||
return ipaddress.IPv6Address(":".join(ip)).compressed
|
||||
except ipaddress.AddressValueError as ex:
|
||||
log.error("hex2ip - ipv6 address error: {0}".format(ex))
|
||||
log.error("hex2ip - ipv6 address error: %s", ex)
|
||||
return hex_ip
|
||||
|
||||
try:
|
||||
|
|
Loading…
Add table
Reference in a new issue