[virt-tools-list] [PATCH 17/17] progress: Remove commented out code

Radostin Stoyanov rstoyanov1 at gmail.com
Thu Oct 25 12:37:58 UTC 2018


Signed-off-by: Radostin Stoyanov <rstoyanov1 at gmail.com>
---
 virtinst/progress.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/virtinst/progress.py b/virtinst/progress.py
index 4e84a2fc..03e56205 100644
--- a/virtinst/progress.py
+++ b/virtinst/progress.py
@@ -113,7 +113,6 @@ class BaseMeter:
         self.basename = basename
         self.text = text
 
-        # size = None #########  TESTING
         self.size = size
         if size is not None:
             self.fsize = format_number(size) + 'B'
@@ -367,7 +366,6 @@ class RateEstimator:
             self.ave_rate = None
             return
 
-        # print 'times', now, self.last_update_time
         time_diff = now - self.last_update_time
         read_diff = amount_read - self.last_amount_read
         # First update, on reget is the file size
@@ -376,7 +374,6 @@ class RateEstimator:
             self.ave_rate = self._temporal_rolling_ave(
                 time_diff, read_diff, self.ave_rate, self.timescale)
         self.last_amount_read = amount_read
-        # print 'results', time_diff, read_diff, self.ave_rate
 
     #####################################################################
     # result methods
-- 
2.17.2




More information about the virt-tools-list mailing list