BIND 10 trac2574, updated. 217087aad01f35b863da3b69012d4b3904b35a7c [2574] commented about faking time.time()

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Jan 22 17:27:07 UTC 2013


The branch, trac2574 has been updated
       via  217087aad01f35b863da3b69012d4b3904b35a7c (commit)
      from  6fcb36d000e1da11d66baeb4b97278dd974d6a01 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 217087aad01f35b863da3b69012d4b3904b35a7c
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Tue Jan 22 09:26:55 2013 -0800

    [2574] commented about faking time.time()

-----------------------------------------------------------------------

Summary of changes:
 src/bin/loadzone/loadzone.py.in |    2 ++
 1 file changed, 2 insertions(+)

-----------------------------------------------------------------------
diff --git a/src/bin/loadzone/loadzone.py.in b/src/bin/loadzone/loadzone.py.in
index 494618e..949446b 100755
--- a/src/bin/loadzone/loadzone.py.in
+++ b/src/bin/loadzone/loadzone.py.in
@@ -115,6 +115,8 @@ class LoadZoneRunner:
         self._log_debuglevel = 0
         self._report_interval = LOAD_INTERVAL_DEFAULT
         self._start_time = None
+        # This one will be used in (rare) cases where we want to allow tests to
+        # fake time.time()
         self._get_time = time.time
 
         self._config_log()



More information about the bind10-changes mailing list