This file is indexed.

/usr/lib/python2.7/dist-packages/DisplayCAL/subprocess.py is in dispcalgui 3.1.0.0-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
21
22
23
24
25
26
27
28
29
import os
import sys

import subprocess26
from subprocess26 import Popen as _Popen, list2cmdline


class Popen(_Popen):

	""" In case of an EnvironmentError when executing the child, set its
		filename to the first item of args """

	def __init__(self, *args, **kwargs):
		try:
			_Popen.__init__(self, *args, **kwargs)
		except EnvironmentError, exception:
			if not exception.filename:
				if isinstance(args[0], basestring):
					cmd = args[0].split()[0]
				else:
					cmd = args[0][0]
				if not os.path.isfile(cmd) or not os.access(cmd, os.X_OK):
					exception.filename = cmd
			raise

subprocess26.Popen = Popen


from subprocess26 import *