This file is indexed.

/usr/share/pyshared/kdj/finder.py is in libkate-tools 0.4.1-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
import sys
import os

def FindKateStreams(directory):
    dict={}
    for root, dirs, files in os.walk(directory):
      for file in files:
        if '.kate'==file[-5:]:
          filename=os.path.join(root,file)
          fragments=filename.split('.') # kate.%l.%c.%i.%s.kate
          if fragments and len(fragments)>=6:
            language=fragments[-5]
            category=fragments[-4]
            index=fragments[-3]
            serial=fragments[-2]
            dict[index]={'filename':filename,'language':language,'category':category,'serial':serial}
          else:
            print 'Bad filename format: '+filename

    return dict