diff options
author | pcarrier <pcarrier@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2010-11-16 00:07:54 +0000 |
---|---|---|
committer | pcarrier <pcarrier@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2010-11-16 00:07:54 +0000 |
commit | 7a76f6c7318274f0f77d2fc02b727373c453a6b7 (patch) | |
tree | 2ba1bee14d93cb6d32396478b1353769936d2dea | |
parent | aefaa6d1d0b2259d8def7ddde5b19e1740dd1199 (diff) | |
download | sos-7a76f6c7318274f0f77d2fc02b727373c453a6b7.tar.gz |
Show the current plugin name during execution
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1004 ef72aa8b-4018-0410-8976-d6e080ef94d8
-rwxr-xr-x | sos/sosreport.py | 9 |
1 files 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: |