From d4d1fbb390c9a31045cea8e612c02e242d11c438 Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Mon, 5 Mar 2018 16:09:30 -0500 Subject: Additional changes for python 2/3 compatibility --- python/undoaction.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'python/undoaction.py') diff --git a/python/undoaction.py b/python/undoaction.py index 9771df38..732d559a 100644 --- a/python/undoaction.py +++ b/python/undoaction.py @@ -28,8 +28,8 @@ from binaryninja.enums import ActionType class UndoAction(object): - from binaryninja import startup - from binaryninja import log + + name = None action_type = None _registered = False @@ -52,7 +52,7 @@ class UndoAction(object): @classmethod def register(cls): - startup._init_plugins() + binaryninja._init_plugins() if cls.name is None: raise ValueError("undo action 'name' not defined") if cls.action_type is None: -- cgit v1.3.1