Skip to content

Commit 612624c

Browse files
author
jfpoilpret
committed
Fix issue on build script generating example sizes sheet
1 parent a03e555 commit 612624c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

make/gen-size-sheet.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ def fill_target(target):
3030
for line in handle:
3131
data = line.split('\t')
3232
example = data[0]
33-
sizes = ALL_SIZES[example]['sizes']
34-
sizes[target] = [data[1], data[2].rstrip()]
33+
if example in ALL_EXAMPLES:
34+
sizes = ALL_SIZES[example]['sizes']
35+
sizes[target] = [data[1], data[2].rstrip()]
3536

3637
def create_sheet(args):
3738
global ALL_EXAMPLES

0 commit comments

Comments
 (0)