[kernel-sec-discuss] r1649 - scripts

Michael Gilbert gilbert-guest at alioth.debian.org
Tue Dec 15 03:10:30 UTC 2009


Author: gilbert-guest
Date: 2009-12-15 03:10:23 +0000 (Tue, 15 Dec 2009)
New Revision: 1649

Modified:
   scripts/find-commit
Log:
coding error in find-commit

Modified: scripts/find-commit
===================================================================
--- scripts/find-commit	2009-12-15 03:10:03 UTC (rev 1648)
+++ scripts/find-commit	2009-12-15 03:10:23 UTC (rev 1649)
@@ -107,7 +107,7 @@
 pipe = os.popen( 'grep %s %s*' % ( sys.argv[1] , rootname ) )
 pline = pipe.readline()
 while pline:
-    fname = pline.split()[0].rstrip( ':' )
+    fname = pline.split( ':' )[0]
     fread = open( fname , 'r' )
     line = fread.readline()
     while line:




More information about the kernel-sec-discuss mailing list