def GetFixupTgtDispl(ea):
    fd = idaapi.fixup_data_t()

    if not idaapi.get_fixup(ea, fd):
        return -1

    return fd.displacement
Raise exception for invalid template name
dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/GetFixupTgtDispl--crossover with--dataset/ETHPy150Open django/django/tests/template_tests/syntax_tests/test_exceptions.py/ExceptionsTests.test_exception01