Add a function to download the debuginfo packages we found.

This commit is contained in:
Jesse Keating 2008-07-08 17:59:31 -04:00
parent 26795667ac
commit 7c2e8593c8
1 changed files with 8 additions and 0 deletions

View File

@ -516,6 +516,14 @@ class Pungi(pypungi.PungiBase):
# do the downloads
self._downloadPackageList(srpmpolist, os.path.join('source', 'SRPMS'))
def downloadDebuginfo(self):
"""Cycle through the list of debuginfo rpms and
download them."""
# do the downloads
self._downloadPackageList(self.debuginfolist, os.path.join(self.config.get('default', 'arch'),
'debug'))
def writeinfo(self, line):
"""Append a line to the infofile in self.infofile"""