From 497f63a04163f0a72e3057faf0e6be220d727f7d Mon Sep 17 00:00:00 2001 From: Will Woods Date: Wed, 6 Jul 2011 19:36:42 -0400 Subject: [PATCH] debugging: write out dirnames as well as filenames in pkglist/ --- src/pylorax/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pylorax/__init__.py b/src/pylorax/__init__.py index f0bd5738..e890e1c8 100644 --- a/src/pylorax/__init__.py +++ b/src/pylorax/__init__.py @@ -193,7 +193,7 @@ class Lorax(BaseLoraxClass): 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: + for fname in pkgobj.filelist + pkgobj.dirlist: fobj.write("{0}\n".format(fname)) logger.info("doing post-install configuration")