From: Mukund Sivaraman Date: Thu, 29 Nov 2012 02:28:15 +0000 (+0530) Subject: [2353] Update syntax used, combining two statements into one X-Git-Tag: bind10-1.0.0-beta-release~19^2~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a966b8d7359a852478e380e89e94cfe2f12d5bd;p=thirdparty%2Fkea.git [2353] Update syntax used, combining two statements into one --- diff --git a/src/bin/bind10/tests/bind10_test.py.in b/src/bin/bind10/tests/bind10_test.py.in index 66e6c7e98c..15bc6a3e09 100644 --- a/src/bin/bind10/tests/bind10_test.py.in +++ b/src/bin/bind10/tests/bind10_test.py.in @@ -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):