BIND 10 trac2172, updated. 97ad12066c71c308e0411b66a16e1ad272d5733f [2172] minor cleanup

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Aug 9 14:42:26 UTC 2012


The branch, trac2172 has been updated
       via  97ad12066c71c308e0411b66a16e1ad272d5733f (commit)
      from  0336d2de9661d70f20fd4a7ce88413f03441884d (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 97ad12066c71c308e0411b66a16e1ad272d5733f
Author: Jelte Jansen <jelte at isc.org>
Date:   Thu Aug 9 16:42:17 2012 +0200

    [2172] minor cleanup

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

Summary of changes:
 src/lib/python/isc/sysinfo/tests/sysinfo_test.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-----------------------------------------------------------------------
diff --git a/src/lib/python/isc/sysinfo/tests/sysinfo_test.py b/src/lib/python/isc/sysinfo/tests/sysinfo_test.py
index 37c391e..01a78d4 100644
--- a/src/lib/python/isc/sysinfo/tests/sysinfo_test.py
+++ b/src/lib/python/isc/sysinfo/tests/sysinfo_test.py
@@ -143,7 +143,6 @@ def _my_bsd_subprocess_check_output(command):
 
 def _my_openbsd_subprocess_check_output(command):
     assert type(command) == list, 'command argument is not a list'
-    bsd_output = _my_bsd_subprocess_check_output(command)
     if command == ['sysctl', '-n', 'kern.boottime']:
         return bytes(str(int(time.time() - 76632)), 'utf-8')
     elif command == ['sysctl', '-n', 'vm.loadavg']:
@@ -155,6 +154,7 @@ def _my_openbsd_subprocess_check_output(command):
     elif command == ['route', '-n', 'show']:
         return b'XfizswwNA9NkXz6K36ZExpjV08Y5IXkHI8jjDSV+5Nc=\n'
     else:
+        bsd_output = _my_bsd_subprocess_check_output(command)
         if bsd_output is not None:
             return bsd_output
         else:



More information about the bind10-changes mailing list