def display_script_progress()

in stratozone-aws-export.py [0:0]


def display_script_progress():
  """Display collection progress."""
  try:
    sys.stdout.write('\r')
    sys.stdout.write('%s[%s%s] %i/%i\r' % ('Regions: ', '#'*region_counter,
                                           '.'*(total_regions-region_counter),
                                           region_counter, total_regions))
    sys.stdout.flush()
  except Exception as e:
    logging.error('error in display_script_progress')
    logging.error(e)