[yum-cvs] yum/rpmtrans.py

Seth Vidal skvidal at linux.duke.edu
Mon Aug 13 21:49:00 UTC 2007


 yum/rpmtrans.py |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

New commits:
commit d80e27a5f01dd64fdaed9616bebfac9489dadb99
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Mon Aug 13 17:46:21 2007 -0400

    clean up some garbage in rpmtrans.py

diff --git a/yum/rpmtrans.py b/yum/rpmtrans.py
index 725ec64..0a14927 100644
--- a/yum/rpmtrans.py
+++ b/yum/rpmtrans.py
@@ -74,11 +74,6 @@ class SimpleCliCallBack:
         self.logger = logging.getLogger('yum.filelogging.RPMInstallCallback')        
         self.lastpackage = None # name of last package we looked at
         
-        # for a progress bar
-        self.mark = "#"
-        self.marks = 27
-        
-        
     def event(self, package, action, te_current, te_total, ts_current, ts_total):
         # this is where a progress bar would be called
         msg = '%s: %s %s/%s [%s/%s]' % (self.action[action], package, 
@@ -87,7 +82,7 @@ class SimpleCliCallBack:
             print msg
         self.lastmsg = msg
         self.lastpackage = package
-        #if sys.stdout.isatty(): # need this for the nice progress bar output
+        
         
     def errorlog(self, msg):
         print >> sys.stderr, msg



More information about the Yum-cvs-commits mailing list