Loads a script from path, and returns the enclosed addon.
(self, path)
| 68 | self.master.addons.invoke_addon_sync(addon, hooks.ConfigureHook(set())) |
| 69 | |
| 70 | def script(self, path): |
| 71 | """ |
| 72 | Loads a script from path, and returns the enclosed addon. |
| 73 | """ |
| 74 | sc = script.Script(path, False) |
| 75 | return sc.addons[0] if sc.addons else None |
| 76 | |
| 77 | def command(self, func, *args): |
| 78 | """ |
no outgoing calls