From 6812c973c9fa9b4ad642ab81856c05f87bd6fcc4 Mon Sep 17 00:00:00 2001 From: KyleMiles Date: Thu, 27 Jan 2022 22:43:28 -0500 Subject: Format All Files --- python/pluginmanager.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'python/pluginmanager.py') diff --git a/python/pluginmanager.py b/python/pluginmanager.py index 1b5e1b72..dfa64222 100644 --- a/python/pluginmanager.py +++ b/python/pluginmanager.py @@ -41,7 +41,9 @@ class RepoPlugin: core.BNFreePlugin(self.handle) def __repr__(self): - return "<{} {}/{}>".format(self.path, "installed" if self.installed else "not-installed", "enabled" if self.enabled else "disabled") + return "<{} {}/{}>".format( + self.path, "installed" if self.installed else "not-installed", "enabled" if self.enabled else "disabled" + ) @property def path(self): @@ -183,7 +185,6 @@ class RepoPlugin: """String version of the plugin""" return core.BNPluginGetVersion(self.handle) - def install_instructions(self, platform): """ Installation instructions for the given platform @@ -256,6 +257,7 @@ class RepoPlugin: """Returns a datetime object representing the plugins last update""" return datetime.fromtimestamp(core.BNPluginGetLastUpdate(self.handle)) + class Repository: """ ``Repository`` is a read-only class. Use RepositoryManager to Enable/Disable/Install/Uninstall plugins. @@ -349,7 +351,6 @@ class RepositoryManager: binaryninja._init_plugins() return Repository(core.BNNewRepositoryReference(core.BNRepositoryManagerGetDefaultRepository(self.handle))) - def add_repository(self, url=None, repopath=None): """ ``add_repository`` adds a new plugin repository for the manager to track. -- cgit v1.3.1