BIND 10 trac2379_2, updated. a602d28cbe49a1287a4beb85ace69c854d025b02 [2379] style: removed unnecessary parentheses in if statements

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Dec 17 16:26:32 UTC 2012


The branch, trac2379_2 has been updated
       via  a602d28cbe49a1287a4beb85ace69c854d025b02 (commit)
      from  5fa05448d68be1c4aafc3806ab0fc3302cd32597 (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 a602d28cbe49a1287a4beb85ace69c854d025b02
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Mon Dec 17 08:26:32 2012 -0800

    [2379] style: removed unnecessary parentheses in if statements

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

Summary of changes:
 .../python/isc/datasrc/tests/zone_loader_test.py   |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/python/isc/datasrc/tests/zone_loader_test.py b/src/lib/python/isc/datasrc/tests/zone_loader_test.py
index 4eaaea1..3ae1bf5 100644
--- a/src/lib/python/isc/datasrc/tests/zone_loader_test.py
+++ b/src/lib/python/isc/datasrc/tests/zone_loader_test.py
@@ -67,7 +67,7 @@ class ZoneLoaderTests(unittest.TestCase):
         if self.loader is not None:
             self.assertEqual(2, sys.getrefcount(self.test_name))
             self.assertEqual(3, sys.getrefcount(self.client))
-            if (self.source_client is not None):
+            if self.source_client is not None:
                 self.assertEqual(3, sys.getrefcount(self.source_client))
         self.loader = None
 
@@ -75,7 +75,7 @@ class ZoneLoaderTests(unittest.TestCase):
         # of its arguments should be back to their originals
         self.assertEqual(2, sys.getrefcount(self.test_name))
         self.assertEqual(2, sys.getrefcount(self.client))
-        if (self.source_client is not None):
+        if self.source_client is not None:
             self.assertEqual(2, sys.getrefcount(self.source_client))
 
     def test_bad_constructor(self):



More information about the bind10-changes mailing list