From fc4498e9f72a50985f88c7a6a3506ae5b77acd2b Mon Sep 17 00:00:00 2001 From: Michael Hanselmann <hansmi@google.com> Date: Thu, 22 Dec 2011 16:00:53 +0100 Subject: [PATCH] test/lockperf: Use a list of integers, not booleans Signed-off-by: Michael Hanselmann <hansmi@google.com> Reviewed-by: Iustin Pop <iustin@google.com> --- test/lockperf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lockperf.py b/test/lockperf.py index dddd019e2..5128c332c 100755 --- a/test/lockperf.py +++ b/test/lockperf.py @@ -59,7 +59,7 @@ class State: """Initializes this class. """ - self.verify = [False for _ in range(thread_count)] + self.verify = [0 for _ in range(thread_count)] self.counts = [0 for _ in range(thread_count)] self.total_count = 0 -- GitLab