Browse Source

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

git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2406 e5f2f494-b856-4b98-b285-d166d9295462
tingting shen 15 years ago
parent
commit
e966674aa0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/python/isc/datasrc/master.py

+ 1 - 1
src/lib/python/isc/datasrc/master.py

@@ -228,7 +228,7 @@ class MasterFile:
             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):