This file is indexed.

/usr/bin/pychecker is in pychecker 0.8.19-4.

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

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
21
22
23
24
25
26
27
28
29
30
31
#!/bin/sh

# We need to execute checker.py rather than simply importing it.  However,
# since pychecker is not a private package, we don't know exactly where it will
# be located.  So, we run a little Python script first to find the correct
# location, and then execute it from there.
#
# Expect CHECKER_PATH to be something like:
#
#    /usr/share/pyshared/pychecker/checker.py
#
# Its actual location will depend on how dh_python2 is implemented.
#
# This script also supports the use of $PYTHONVER as a way to select which
# version of Python will be used to execute pychecker. This will only work for
# versions of Python supported by dh_python2, but it's better than nothing.

PYTHON="/usr/bin/python${PYTHONVER}"
CHECKER_PATH=`${PYTHON} -c "from imp import find_module; print find_module('pychecker/checker')[1]"`

if [ ! -n "${CHECKER_PATH}" ]; then
   echo "Unable to find checker.py on Python's module path."
   exit 1 
fi

if [ ! -f "${CHECKER_PATH}" ]; then
   echo "Found checker.py as [${CHECKER_PATH}], but it does not seem to exist."
   exit 1 
fi

exec "${PYTHON}" "${CHECKER_PATH}" "$@"