From 2b216315c87fc8eb1d2e77f9c9faed9b2cf362bd Mon Sep 17 00:00:00 2001 From: Raphael Geissert Date: Tue, 15 Dec 2009 03:10:23 +0000 Subject: coding error in find-commit git-svn-id: svn+ssh://svn.debian.org/svn/kernel-sec@1649 e094ebfe-e918-0410-adfb-c712417f3574 --- scripts/find-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/find-commit b/scripts/find-commit index 698e58a1..738ae15f 100755 --- a/scripts/find-commit +++ b/scripts/find-commit @@ -107,7 +107,7 @@ foundtext = False 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: -- cgit v1.2.3