From 069f8f98a9f167e88531162f327618de97197bcb Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Wed, 7 Mar 2007 21:33:45 -0500 Subject: [PATCH] Fix some typos and point at the right comps file --- pypungi/pungi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pypungi/pungi.py b/pypungi/pungi.py index 08abf6ef..60598380 100755 --- a/pypungi/pungi.py +++ b/pypungi/pungi.py @@ -156,7 +156,7 @@ class Pungi: for relnoterpm in relnoterpms: if pkgname == relnoterpm: extraargs = [os.path.join(self.topdir, self.config.get('default', 'product_path'), pkg)] - p1 = subprocess.Popen(rpm2cpio + extraargs, cwd=docsdir, stdout=PIPE) + p1 = subprocess.Popen(rpm2cpio + extraargs, cwd=docsdir, stdout=subprocess.PIPE) p2 = subprocess.Popen(cpio, cwd=docsdir, stdin=p1.stdout) #log.info("Result from rpm2cpio: %s" % res) # Walk the tree for our files @@ -245,7 +245,7 @@ class Pungi: createrepo.append('--database') createrepo.append('--groupfile') - createrepo.append(os.path.join(self.topdir, 'repodata', 'comps.xml')) + createrepo.append(self.config.get('default', 'comps')) createrepo.append('--baseurl') createrepo.append('media://%s' % mediaid)