From 9f47eae26b4d0929ff7ff6e29e0485b81684e618 Mon Sep 17 00:00:00 2001 From: Will Woods Date: Thu, 26 May 2011 18:53:51 -0400 Subject: [PATCH] another pkglists fixup --- src/pylorax/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pylorax/__init__.py b/src/pylorax/__init__.py index fe3dfd3c..7407f7ca 100644 --- a/src/pylorax/__init__.py +++ b/src/pylorax/__init__.py @@ -198,10 +198,10 @@ class Lorax(BaseLoraxClass): dname = joinpaths(self.workdir, "pkglists") if not os.path.isdir(dname): os.makedirs(dname) - for pkgobj in ybo.doPackageLists(pkgnarrow='installed').installed: - with open(joinpaths(dname, pkgobj.name), "w") as fobj: - for fname in pkgobj.filelist: - fobj.write("{0}\n".format(fname)) + for pkgobj in ybo.doPackageLists(pkgnarrow='installed').installed: + with open(joinpaths(dname, pkgobj.name), "w") as fobj: + for fname in pkgobj.filelist: + fobj.write("{0}\n".format(fname)) logger.info("doing post-install configuration") rb.postinstall() # FIXME: configdir=