@copyright: © 2018 by Frank Brehm, Berlin
@summary: A handler module for creating the VMWare template
"""
-from __future__ import absolute_import
+from __future__ import absolute_import, print_function
# Standard module
import sys
time.sleep(self.interval_poll)
cur_time = time.time()
if (cur_time - last_dot) >= self.interval_dot:
- sys.stdout.write('.')
- sys.stdout.flush()
+ print('.', end='', flush=True)
last_dot = cur_time
cur_duration = cur_time - self.ts_start_install
+ print('', flush=True)
# =============================================================================