links is a list of tupels (url,plugin)
(self, links, package)
| 618 | |
| 619 | @style.queue |
| 620 | def addLinks(self, links, package): |
| 621 | """ links is a list of tupels (url,plugin)""" |
| 622 | order = self._nextFileOrder(package) |
| 623 | orders = [order + x for x in range(len(links))] |
| 624 | links = [(x[0], x[0], x[1], package, o) for x, o in zip(links, orders)] |
| 625 | self.c.executemany('INSERT INTO links(url, name, plugin, package, linkorder) VALUES(?,?,?,?,?)', links) |
| 626 | |
| 627 | @style.queue |
| 628 | def addPackage(self, name, folder, queue): |
nothing calls this directly
no test coverage detected