This repository was archived by the owner on Jan 10, 2023. It is now read-only.
SYSFS_PORT_SPLIT_RE is not defined #34
Open
Description
SYSFS_PORT_SPLIT_RE, which I assume is supposed to be a compiled regex; is not defined.
`
#adb/common.py
#ln 194
@classmethod
def PortPathMatcher(cls, port_path):
"""Returns a device matcher for the given port path."""
if isinstance(port_path, basestring):
# Convert from sysfs path to port_path.
port_path = [int(part) for part in SYSFS_PORT_SPLIT_RE.split(port_path)]
return lambda device: device.port_path == port_path
`
Metadata
Metadata
Assignees
Labels
No labels