[kernel] r15439 - dists/sid/linux-2.6/debian/bin

Bastian Blank waldi at alioth.debian.org
Sun Mar 21 12:30:02 UTC 2010


Author: waldi
Date: Sun Mar 21 12:29:59 2010
New Revision: 15439

Log:
debian/bin/buildcheck.py: Use sorted function.

Modified:
   dists/sid/linux-2.6/debian/bin/buildcheck.py

Modified: dists/sid/linux-2.6/debian/bin/buildcheck.py
==============================================================================
--- dists/sid/linux-2.6/debian/bin/buildcheck.py	Sun Mar 21 12:22:34 2010	(r15438)
+++ dists/sid/linux-2.6/debian/bin/buildcheck.py	Sun Mar 21 12:29:59 2010	(r15439)
@@ -73,23 +73,17 @@
 
         if add:
             out.write("\nAdded symbols:\n")
-            t = list(add)
-            t.sort()
-            for name in t:
+            for name in sorted(add):
                 symbols[name].write(out, name in ignore)
 
         if change:
             out.write("\nChanged symbols:\n")
-            t = list(change)
-            t.sort()
-            for name in t:
+            for name in sorted(change):
                 symbols[name].write(out, name in ignore)
 
         if remove:
             out.write("\nRemoved symbols:\n")
-            t = list(remove)
-            t.sort()
-            for name in t:
+            for name in sorted(remove):
                 symbols[name].write(out, name in ignore)
 
         return ret



More information about the Kernel-svn-changes mailing list