test/lockperf: Use a list of integers, not booleans
authorMichael Hanselmann <hansmi@google.com>
Thu, 22 Dec 2011 15:00:53 +0000 (16:00 +0100)
committerMichael Hanselmann <hansmi@google.com>
Thu, 22 Dec 2011 15:04:00 +0000 (16:04 +0100)
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>

test/lockperf.py

index dddd019..5128c33 100755 (executable)
@@ -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