debugging: write out dirnames as well as filenames in pkglist/

This commit is contained in:
Will Woods 2011-07-06 19:36:42 -04:00
parent 9dde406193
commit 497f63a041

View File

@ -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")