Add a function to download the debuginfo packages we found.
This commit is contained in:
parent
26795667ac
commit
7c2e8593c8
@ -516,6 +516,14 @@ class Pungi(pypungi.PungiBase):
|
|||||||
# do the downloads
|
# do the downloads
|
||||||
self._downloadPackageList(srpmpolist, os.path.join('source', 'SRPMS'))
|
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):
|
def writeinfo(self, line):
|
||||||
"""Append a line to the infofile in self.infofile"""
|
"""Append a line to the infofile in self.infofile"""
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user