[svn] commit: r2406 - /trunk/src/lib/python/isc/datasrc/master.py

BIND 10 source code commits bind10-changes at lists.isc.org
Fri Jul 2 04:41:55 UTC 2010


Author: shentingting
Date: Fri Jul  2 04:41:54 2010
New Revision: 2406

Log:
#ticket269,improve the output accuracy for 7 RR(s) loaded in 0 second(s) problem,reviewed by likun

Modified:
    trunk/src/lib/python/isc/datasrc/master.py

Modified: trunk/src/lib/python/isc/datasrc/master.py
==============================================================================
--- trunk/src/lib/python/isc/datasrc/master.py (original)
+++ trunk/src/lib/python/isc/datasrc/master.py Fri Jul  2 04:41:54 2010
@@ -228,7 +228,7 @@
             percent = (self.__cur * 100)/self.__filesize
 
         sys.stdout.write("\r" + (80 * " "))
-        sys.stdout.write("\r%d RR(s) loaded in %d second(s) (%.2f%% of %s%s)"\
+        sys.stdout.write("\r%d RR(s) loaded in %.2f second(s) (%.2f%% of %s%s)"\
                 % (MasterFile.__records_num, interval, percent, MasterFile.__file_type, self.__datafile))
 
     def __del__(self):




More information about the bind10-changes mailing list