[oe-commits] org.oe.dev sanitize.py: Drop unimportant Python 2.4 dependency.

pfalcon commit openembedded-commits at lists.openembedded.org
Thu Sep 7 02:22:30 UTC 2006


sanitize.py: Drop unimportant Python 2.4 dependency.

Author: pfalcon at openembedded.org
Branch: org.openembedded.dev
Revision: ca5e13e477c9fa8b6935d2cff74d1c69f853750a
ViewMTN: http://monotone.openembedded.org/revision.psp?id=ca5e13e477c9fa8b6935d2cff74d1c69f853750a
Files:
1
contrib/sanitize.py
Diffs:

#
# mt diff -ra83e90d6f43f178c365e99a78df8c0d5f945665e -rca5e13e477c9fa8b6935d2cff74d1c69f853750a
#
# 
# 
# patch "contrib/sanitize.py"
#  from [a5dc8c979060307d2871e25ceb9eaafc012bdbf3]
#    to [ff74b2dfc1e63940ac7b12b2ebfff71800d55526]
# 
============================================================
--- contrib/sanitize.py	a5dc8c979060307d2871e25ceb9eaafc012bdbf3
+++ contrib/sanitize.py	ff74b2dfc1e63940ac7b12b2ebfff71800d55526
@@ -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)






More information about the Openembedded-commits mailing list