Commit 9c0cfdf5 authored by Chris Lamb's avatar Chris Lamb 💬

Revert "Clear the progress bar after completion. (Closes: #901758)"

This reverts commit 68c8263a.
parent 68c8263a
Pipeline #12549 failed with stage
in 21 minutes and 33 seconds
......@@ -20,7 +20,6 @@
import os
import sys
import json
import signal
import logging
logger = logging.getLogger(__name__)
......@@ -220,15 +219,6 @@ class ProgressBar(object):
def _need_update(self):
return True
def finish(self):
self.finished = True
self.update(self.maxval)
# Clear the progress bar after completion (#901758)
self.fd.write("\033[K")
self.fd.flush()
if self.signal_set:
signal.signal(signal.SIGWINCH, signal.SIG_DFL)
self.bar = OurProgressBar(widgets=(
' ',
progressbar.Bar(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment