From b1182ed63ba29a6cb646a0cff49b42b323d90ad1 Mon Sep 17 00:00:00 2001 From: Jeffrey Clark Date: Sat, 5 Mar 2016 14:36:09 -0600 Subject: fix build errors (nw) --- scripts/build/makelist.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/build/makelist.py') diff --git a/scripts/build/makelist.py b/scripts/build/makelist.py index cb6400b4d80..a9b450474e2 100644 --- a/scripts/build/makelist.py +++ b/scripts/build/makelist.py @@ -59,9 +59,9 @@ def parse_file(srcfile): if not all(((c >='a' and c<='z') or (c>='0' and c<='9') or c=='_') for c in drivname): sys.stderr.write("%s:%d - Invalid character in driver \"%s\"\n" % (srcfile, linenum, drivname)) return 1 - else: + else: if (curr_source == '') or (len(sourcelist)==0) or (curr_source in sourcelist): - drivlist.append(drivname) + drivlist.append(drivname) return 0 def parse_filter_file(srcfile): @@ -113,7 +113,7 @@ def parse_filter_file(srcfile): if not all(((c >='a' and c<='z') or (c>='0' and c<='9') or c=='_' or c=='.' or c=='-') for c in sourcename): sys.stderr.write("%s:%d - Invalid character in driver \"%s\"\n" % (srcfile, linenum, sourcename)) return 1 - else: + else: sourcelist.append(sourcename) return 0 -- cgit v1.2.3-70-g09d2