From ec0b02d7c11c785bf3c594d7be3cc4b03fe984b0 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Thu, 7 Sep 2006 01:39:24 +0000 Subject: sanitize.py: Drop unimportant Python 2.4 dependency. --- contrib/sanitize.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib') 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) -- cgit v1.2.3