From 7a76f6c7318274f0f77d2fc02b727373c453a6b7 Mon Sep 17 00:00:00 2001 From: pcarrier Date: Tue, 16 Nov 2010 00:07:54 +0000 Subject: Show the current plugin name during execution git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1004 ef72aa8b-4018-0410-8976-d6e080ef94d8 --- sos/sosreport.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/sos/sosreport.py b/sos/sosreport.py index ccacdff4..f57c5d48 100755 --- a/sos/sosreport.py +++ b/sos/sosreport.py @@ -710,15 +710,16 @@ No changes will be made to your system. error_log.write(traceback.format_exc()) error_log.close() - print _(" Running plugins. Please wait ...") + print _(" Running plugins. Please wait ...") print plugruncount = 0 for i in izip(GlobalVars.loadedplugins): plugruncount += 1 - sys.stdout.write("\r Completed [%d/%d] ... " % (plugruncount, - len(GlobalVars.loadedplugins))) - sys.stdout.flush() plugname, plug = i[0] + sys.stdout.write("\r Running %d/%d: %s... " % (plugruncount, + len(GlobalVars.loadedplugins), + plugname)) + sys.stdout.flush() try: plug.copyStuff() except KeyboardInterrupt: -- cgit