[Git][reproducible-builds/diffoscope][master] Revert "Clear the progress bar after completion. (Closes: #901758)"
Chris Lamb
gitlab at salsa.debian.org
Sat Jul 7 08:43:51 CEST 2018
Chris Lamb pushed to branch master at Reproducible Builds / diffoscope
Commits:
9c0cfdf5 by Chris Lamb at 2018-07-07T08:43:37+02:00
Revert "Clear the progress bar after completion. (Closes: #901758)"
This reverts commit 68c8263a430aca779b0c44fd31e729ae9bd59e0b.
- - - - -
1 changed file:
- diffoscope/progress.py
Changes:
=====================================
diffoscope/progress.py
=====================================
--- a/diffoscope/progress.py
+++ b/diffoscope/progress.py
@@ -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(),
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/commit/9c0cfdf5a59808b6698eee99600b46cada3c762d
--
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/commit/9c0cfdf5a59808b6698eee99600b46cada3c762d
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20180707/b8a238d1/attachment.html>
More information about the rb-commits
mailing list