| 1 |
import gatherer
|
| 2 |
import sources_gatherer
|
| 3 |
import packages_gatherer
|
| 4 |
|
| 5 |
|
| 6 |
def get_gatherer(connection, config, source):
|
| 7 |
return src_and_pkg_gatherer(connection, config, source)
|
| 8 |
|
| 9 |
class src_and_pkg_gatherer(gatherer.gatherer):
|
| 10 |
def __init__(self, connection, config, source):
|
| 11 |
gatherer.gatherer.__init__(self, connection, config, source)
|
| 12 |
self.src = sources_gatherer.sources_gatherer(connection, config, source)
|
| 13 |
self.pkg = packages_gatherer.packages_gatherer(connection, config, source)
|
| 14 |
|
| 15 |
def run(self):
|
| 16 |
self.src.run()
|
| 17 |
self.pkg.run()
|