Lint: E227 missing whitespace around bitwise or shift operator
This commit is contained in:
parent
2eef6a1c21
commit
69858788c1
|
@ -29,7 +29,7 @@ def isValidMAC(macaddr):
|
||||||
^([0-9A-F]{2}[:]){5}([0-9A-F]{2})$
|
^([0-9A-F]{2}[:]){5}([0-9A-F]{2})$
|
||||||
)
|
)
|
||||||
""",
|
""",
|
||||||
re.VERBOSE|re.IGNORECASE)
|
re.VERBOSE | re.IGNORECASE)
|
||||||
|
|
||||||
if allowed.match(macaddr):
|
if allowed.match(macaddr):
|
||||||
return True
|
return True
|
||||||
|
|
|
@ -201,7 +201,7 @@ def isValidMAC(macaddr):
|
||||||
^([0-9A-F]{2}[:]){5}([0-9A-F]{2})$
|
^([0-9A-F]{2}[:]){5}([0-9A-F]{2})$
|
||||||
)
|
)
|
||||||
""",
|
""",
|
||||||
re.VERBOSE|re.IGNORECASE)
|
re.VERBOSE | re.IGNORECASE)
|
||||||
|
|
||||||
if allowed.match(macaddr):
|
if allowed.match(macaddr):
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in New Issue