Skip to content
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
@bkavanagh

Description

@bkavanagh

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions