diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2006-09-07 01:39:24 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2006-09-07 01:39:24 +0000 |
commit | ec0b02d7c11c785bf3c594d7be3cc4b03fe984b0 (patch) | |
tree | cd4e4ae1ac1c5cd9489e7fae2eb30436942c8666 /contrib | |
parent | 049910b3b1f2a33daf0bdc1e7de536edb1f60b78 (diff) |
sanitize.py: Drop unimportant Python 2.4 dependency.
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/sanitize.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/sanitize.py b/contrib/sanitize.py index 3d329730b1..e38c28c13f 100755 --- a/contrib/sanitize.py +++ b/contrib/sanitize.py @@ -301,7 +301,7 @@ if __name__ == "__main__": in_routine = False commentBloc = [] olines = [] - unknownVar = set() + unknownVar = [] for line in lines: line = line.rstrip() line = follow_rule(2, line) @@ -350,7 +350,7 @@ if __name__ == "__main__": if not varexist: s = string.split(line)[0].rstrip().lstrip() if s not in unknownVar: - unknownVar.add(s) + unknownVar.append(s) if not in_routine: print "## Warning: unknown variable/routine \"%s\"" % line OE_vars['others'].append(line) |