This file is indexed.

/usr/share/pyshared/screenlets/plugins/LengthConverter.py is in screenlets 0.1.2-8.

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
from Convert import RatioConverter

# This is an example use of the RatioConverter superclass. See also
# the documentation of Converter and RatioConverter in ConvertScreenlet.py, for 
# description of the variables, please.
class LengthConverter(RatioConverter):
	"""A converter which converts lengths between centimeters and inches."""
	
	# These fields must be defined in every screenlet:
	# __name__: the name of the class
	__name__ = 'LengthConverter'
	# __title__: a short description to be shown in the menu and Options dialog
	__title__ = 'cm / inches'
	# author and version - not currently shown anywhere
	__author__ = 'Vasek Potocek'
	__version__ = '0.2'

	# the number of fields and their captions
	num_fields = 2
	field_names = ['cm', 'in']
	
	# The relative weights of the fields. Here, we set 1 for cm and 2.54 for an 
	# inch, meaning one inch is a unit 2.54 times larger than a centimeter. Note 
	# that the values will be in an inversed ratio.
	weights = [1, 2.54]