(self, arg)
| 709 | return check_path(self._path) |
| 710 | |
| 711 | def get(self, arg): # type: (str) -> Optional[str] |
| 712 | data = _read_file(self._path + arg + "/address") |
| 713 | |
| 714 | # NOTE: if "/sys/class/net/" exists, but interface file doesn't, |
| 715 | # then that means the interface doesn't exist |
| 716 | # Sometimes this can be empty or a single newline character |
| 717 | return None if data is not None and len(data) < 17 else data |
| 718 | |
| 719 | |
| 720 | class UuidLanscan(Method): |
nothing calls this directly
no test coverage detected