diff options
| author | Peter LaFosse <peter@vector35.com> | 2021-06-24 09:19:08 -0400 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2021-09-05 10:08:09 -0400 |
| commit | d37f7abfe4c1b23426b0fbdc85ae31788602ff28 (patch) | |
| tree | ff106d8d52afc7cb4d85a1378a41e5c72a288c7d /python/pluginmanager.py | |
| parent | e0389d244e6211126267e060a9c61a1e75481b76 (diff) | |
Don't inherit from object anymore
Diffstat (limited to 'python/pluginmanager.py')
| -rw-r--r-- | python/pluginmanager.py | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
