From 1230404d0b7cd7a00fd3da7ad2aebb66d663fd08 Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Mon, 9 Jan 2017 23:00:18 -0500 Subject: Use new style class definitions, add __init__ BinaryDataNotification --- python/function.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/function.py') diff --git a/python/function.py b/python/function.py index 1843dd3d..7d03585c 100644 --- a/python/function.py +++ b/python/function.py @@ -830,7 +830,7 @@ class DisassemblyTextLine(object): return "<%#x: %s>" % (self.address, str(self)) -class FunctionGraphEdge: +class FunctionGraphEdge(object): def __init__(self, branch_type, arch, target, points): self.type = BranchType(branch_type) self.arch = arch -- cgit v1.3.1