From 7c2e8593c84e0635beba56b2ae5719eb600ff236 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Tue, 8 Jul 2008 17:59:31 -0400 Subject: [PATCH] Add a function to download the debuginfo packages we found. --- src/pypungi/__init__.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/pypungi/__init__.py b/src/pypungi/__init__.py index e62fa455..75fcfe9c 100644 --- a/src/pypungi/__init__.py +++ b/src/pypungi/__init__.py @@ -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"""