def octal_type(arg):
    try:
        return int(arg, 8)
    except __HOLE__:
        raise ValueError('%s is not convertable to an octal type' % arg)
dataset/ETHPy150Open XiaoMi/minos/supervisor/supervisor/datatypes.py/octal_type