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=