best-caf-kernel: Fix crash when there are no lines changed
Change-Id: I6d0539f8b2d07e25fc92937d280f4255a7800d71
This commit is contained in:
@@ -66,6 +66,8 @@ def background(q, e, s):
|
||||
if e.is_set():
|
||||
break
|
||||
else:
|
||||
if tc is None:
|
||||
tc = 0;
|
||||
if not s:
|
||||
print("%s has %d lines changed" % (tn, tc))
|
||||
if best > tc:
|
||||
|
||||
Reference in New Issue
Block a user