BIND 10 #269: loadzone: improve the output accuracy for 7 RR(s) loaded in 0 second(s) problem
BIND 10 Development
do-not-reply at isc.org
Thu Jul 1 09:38:36 UTC 2010
#269: loadzone: improve the output accuracy for 7 RR(s) loaded in 0 second(s)
problem
--------------------------+-------------------------------------------------
Reporter: shentingting | Owner: shentingting
Type: defect | Status: new
Priority: minor | Milestone:
Component: Unclassified | Resolution:
Keywords: | Sensitive: 0
--------------------------+-------------------------------------------------
Comment(by shentingting):
This fix it:
Index: master.py
===================================================================
--- master.py (版本 2387)
+++ master.py (工作副本)
@@ -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):
--
Ticket URL: <http://bind10.isc.org/ticket/269#comment:1>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list