(self, type, plugin)
| 111 | return pattern |
| 112 | |
| 113 | def _load(self, type, plugin): |
| 114 | dict = self.pyload.pluginManager.plugins[type][plugin] |
| 115 | pattern = self.get_pattern(type, plugin) |
| 116 | |
| 117 | if not pattern: |
| 118 | return |
| 119 | |
| 120 | dict['pattern'] = pattern |
| 121 | dict['re'] = re.compile(pattern) |
| 122 | |
| 123 | self.log_debug("Pattern for %ss: %s" % (type, pattern)) |
| 124 | |
| 125 | def _unload(self, type, plugin): |
| 126 | dict = self.pyload.pluginManager.plugins[type][plugin] |
no test coverage detected