def GetReg(ea, reg):
    reg = idaapi.str2reg(reg);
    if reg >= 0:
        return idaapi.getSR(ea, reg)
    else:
        return -1
To be used in conjunction with the object_list generic view.
dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/GetReg--crossover with--dataset/ETHPy150Open amitu/gitology/src/gitology/d/templatetags/paginator.py/paginator