

def _splittype(typestring):
    ' Split the string the / delimiter and strip out empty strings\n\n    Performs similar logic to roslib.names.package_resource_name but is a bit\n    more forgiving about excess slashes\n    '
    splits = [x for x in typestring.split('/') if x]
    if (len(splits) == 2):
        return splits
    raise InvalidTypeStringException(typestring)

dataset/ETHPy150Open RobotWebTools/rosbridge_suite/rosbridge_library/src/rosbridge_library/internal/ros_loader.py _splittype/original