]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2353] Update syntax used, combining two statements into one
authorMukund Sivaraman <muks@isc.org>
Thu, 29 Nov 2012 02:28:15 +0000 (07:58 +0530)
committerMukund Sivaraman <muks@isc.org>
Thu, 29 Nov 2012 02:28:18 +0000 (07:58 +0530)
src/bin/bind10/tests/bind10_test.py.in

index 66e6c7e98cb0b9c5bee26b1a393d54bc6edfc879..15bc6a3e090757f3eee5e7f0d0a961769a86be4e 100644 (file)
@@ -1459,8 +1459,7 @@ class TestBossComponents(unittest.TestCase):
         '''Test that procsses are returned correctly, sorted by pid.'''
         bob = MockBob()
 
-        pids = []
-        pids.extend(range(0, 20))
+        pids = list(range(0, 20))
         random.shuffle(pids)
 
         for i in range(0, 20):