Generates and add packages :param links: list of urls :param dest: `Destination` :return: list of package ids
(self, links, dest=Destination.Queue)
| 437 | |
| 438 | @permission(PERMS.ADD) |
| 439 | def generateAndAddPackages(self, links, dest=Destination.Queue): |
| 440 | """Generates and add packages |
| 441 | |
| 442 | :param links: list of urls |
| 443 | :param dest: `Destination` |
| 444 | :return: list of package ids |
| 445 | """ |
| 446 | return [self.addPackage(name, urls, dest) for name, urls |
| 447 | in self.generatePackages(links).iteritems()] |
| 448 | |
| 449 | @permission(PERMS.ADD) |
| 450 | def checkAndAddPackages(self, links, dest=Destination.Queue): |
nothing calls this directly
no test coverage detected