diff --git a/client-cli/cli_lib/network.py b/client-cli/cli_lib/network.py index df375ce7..e61ba4f4 100644 --- a/client-cli/cli_lib/network.py +++ b/client-cli/cli_lib/network.py @@ -29,7 +29,7 @@ def isValidMAC(macaddr): ^([0-9A-F]{2}[:]){5}([0-9A-F]{2})$ ) """, - re.VERBOSE|re.IGNORECASE) + re.VERBOSE | re.IGNORECASE) if allowed.match(macaddr): return True diff --git a/daemon-common/network.py b/daemon-common/network.py index 68f2f1c7..24f9ada0 100644 --- a/daemon-common/network.py +++ b/daemon-common/network.py @@ -201,7 +201,7 @@ def isValidMAC(macaddr): ^([0-9A-F]{2}[:]){5}([0-9A-F]{2})$ ) """, - re.VERBOSE|re.IGNORECASE) + re.VERBOSE | re.IGNORECASE) if allowed.match(macaddr): return True