From d37f7abfe4c1b23426b0fbdc85ae31788602ff28 Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Thu, 24 Jun 2021 09:19:08 -0400 Subject: Don't inherit from object anymore --- python/pluginmanager.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'python/pluginmanager.py') diff --git a/python/pluginmanager.py b/python/pluginmanager.py index 114ba213..aa68a4f3 100644 --- a/python/pluginmanager.py +++ b/python/pluginmanager.py @@ -28,7 +28,7 @@ from . import _binaryninjacore as core from .enums import PluginType -class RepoPlugin(object): +class RepoPlugin: """ ``RepoPlugin`` is mostly read-only, however you can install/uninstall enable/disable plugins. RepoPlugins are created by parsing the plugins.json in a plugin repository. @@ -255,7 +255,7 @@ class RepoPlugin(object): """Returns a datetime object representing the plugins last update""" return datetime.fromtimestamp(core.BNPluginGetLastUpdate(self.handle)) -class Repository(object): +class Repository: """ ``Repository`` is a read-only class. Use RepositoryManager to Enable/Disable/Install/Uninstall plugins. """ @@ -303,7 +303,7 @@ class Repository(object): return pluginlist -class RepositoryManager(object): +class RepositoryManager: """ ``RepositoryManager`` Keeps track of all the repositories and keeps the enabled_plugins.json file coherent with the plugins that are installed/uninstalled enabled/disabled -- cgit v1.3.1