diff options
Diffstat (limited to 'python/pluginmanager.py')
| -rw-r--r-- | python/pluginmanager.py | 7 |
1 files changed, 4 insertions, 3 deletions
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. |
