Commit e966674a authored by tingting shen's avatar tingting shen
Browse files

#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
parent 28a159a1
......@@ -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):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment