Don't try to make debuginfo repos for source arch.

This commit is contained in:
Jesse Keating 2008-07-16 13:31:17 -04:00
parent 8331ae9e0f
commit 7d92748838

View File

@ -613,6 +613,9 @@ class Pungi(pypungi.PungiBase):
# create repodata for debuginfo
if self.config.getboolean('default', 'debuginfo'):
path = os.path.join(self.archdir, 'debug')
if not os.path.isdir(path):
self.logger.debug("No debuginfo for %s" % self.config.get('default', 'arch'))
return
self._makeMetadata(path, cachedir, repoview=False)
def doBuildinstall(self):