From c1b3ed3c1f729d220682d4c3675ce5d88be104fc Mon Sep 17 00:00:00 2001 From: Will Woods Date: Thu, 26 May 2011 16:49:11 -0400 Subject: [PATCH] fix two typos in __init__ --- src/pylorax/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pylorax/__init__.py b/src/pylorax/__init__.py index 9113d560..fe3dfd3c 100644 --- a/src/pylorax/__init__.py +++ b/src/pylorax/__init__.py @@ -201,7 +201,7 @@ class Lorax(BaseLoraxClass): 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)) + fobj.write("{0}\n".format(fname)) logger.info("doing post-install configuration") rb.postinstall() # FIXME: configdir= @@ -215,7 +215,7 @@ class Lorax(BaseLoraxClass): linktree(self.inroot, installroot) logger.info("cleaning unneeded files") - rb.clean() + rb.cleanup() logger.info("creating the runtime image") # TODO: different img styles / create_runtime implementations