diff contrib/perf.py @ 14494:1ffeeb91c55d

check-code: flag 0/1 used as constant Boolean expression
author Martin Geisler <mg@lazybytes.net>
date Wed, 01 Jun 2011 12:38:46 +0200
parents a90131b85fd8
children 35c2cc322ba8
line wrap: on
line diff
--- a/contrib/perf.py	Tue May 31 20:39:04 2011 -0500
+++ b/contrib/perf.py	Wed Jun 01 12:38:46 2011 +0200
@@ -8,7 +8,7 @@
     results = []
     begin = time.time()
     count = 0
-    while 1:
+    while True:
         ostart = os.times()
         cstart = time.time()
         r = func()