Signed-off-by: Gui Chen <gui.chen@intel.com>
try:
self.__instloop.cleanup()
except MountError, err:
- mseger.warning("%s" % err)
+ msger.warning("%s" % err)
def _resparse(self, size = None):
return self.__instloop.resparse(size)
ksc = f.read()
if "@ARCH@" in ksc or "@BUILD_ID@" in ksc:
- msger.info("Substitute macro variable @BUILD_ID@/@ARCH in ks: %s" % ksconf)
+ msger.info("Substitute macro variable @BUILD_ID@/@ARCH@ in ks: %s" % ksconf)
ksc = ksc.replace("@ARCH@", arch)
ksc = ksc.replace("@BUILD_ID@", release)
fd, ksconf = tempfile.mkstemp(prefix=os.path.basename(ksconf), dir="/tmp/")