Skip to content

Commit

Permalink
Fixed black format
Browse files Browse the repository at this point in the history
  • Loading branch information
Reimund Renner committed Dec 22, 2023
1 parent 8242a7f commit d381187
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion getmac/getmac.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,9 @@ def get(self, arg): # type: (str) -> Optional[str]
command_output = _popen("arp", " ".join(cmd_args))

escaped = re.escape(arg)
_good_regex = self._regex_darwin if DARWIN or SOLARIS else self._regex_std # type: str
_good_regex = (
self._regex_darwin if DARWIN or SOLARIS else self._regex_std
) # type: str
return _search(r"\(" + escaped + _good_regex, command_output)


Expand Down

0 comments on commit d381187

Please sign in to comment.