diff options
author | 2016-03-05 14:36:09 -0600 | |
---|---|---|
committer | 2016-03-05 14:37:49 -0600 | |
commit | b1182ed63ba29a6cb646a0cff49b42b323d90ad1 (patch) | |
tree | 7005419045e6a99c03575f0b7174995fa67aa5dc /scripts/build/makelist.py | |
parent | 892233c4d4560d6821e9a7e371f35bbca4c2e723 (diff) |
fix build errors (nw)
Diffstat (limited to 'scripts/build/makelist.py')
-rw-r--r-- | scripts/build/makelist.py | 6 |
1 files changed, 3 insertions, 3 deletions
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 |