From: Frank Brehm Date: Wed, 11 Apr 2018 12:44:48 +0000 (+0200) Subject: Modifying output in wait_for_finish_install() X-Git-Tag: 0.1.1~47 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=e4b7892272dcae8ef1cdc8b17392860c0ff45a2c;p=pixelpark%2Fcreate-vmware-tpl.git Modifying output in wait_for_finish_install() --- diff --git a/lib/cr_vmware_tpl/handler.py b/lib/cr_vmware_tpl/handler.py index 0c20bfd..727a0ca 100644 --- a/lib/cr_vmware_tpl/handler.py +++ b/lib/cr_vmware_tpl/handler.py @@ -617,7 +617,8 @@ class CrTplHandler(PpBaseObject): LOG.info("Waiting for finishing installation ...") - LOG.debug("Waiting initially for {} seconds.") + LOG.debug("Waiting initially for {} seconds:".format(self.initial_sleep)) + print(' ==> ', end='', flush=True) cur_time = time.time() cur_duration = cur_time - self.ts_start_install