This file is indexed.

/usr/share/sadms-2.0.15/__init__.py is in sadms 2.0.15.repack-0ubuntu2.

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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/usr/bin/python
# -*-coding: UTF-8 -*-
# bbou@ac-toulouse.fr
# GPL license
# 30/08/2009 

import os
import sys
import locale
import gettext
APP_NAME = "sadms"

#Get the local directory since we are not installing anything
local_path = "/usr/share/locale"
print local_path

# Init the list of languages to support
langs = []

#Check the default locale
lc, encoding = locale.getdefaultlocale()
if (lc):
	#if we have a default, it's the first in the list
	langs = [lc]
	print lc

# Now lets get all of the supported languages on the system
language = os.environ.get('LANGUAGE', None)
print language
if (language):
	"""langage comes back something like en_CA:en_US:en_GB:en
	on linuxy systems, on Win32 it's nothing, so we need to
	split it up into a list"""
	langs += language.split(":")
"""Now add on to the back of the list the translations that we
know that we have, our defaults"""
langs += ["en_US","fr_FR"]

"""Now langs is a list of all of the languages that we are going
to try to use.  First we check the default, then what the system
told us, and finally the 'known' list"""
gettext.bindtextdomain(APP_NAME, local_path)
gettext.textdomain(APP_NAME)

# Get the language to use
lang = gettext.translation(APP_NAME, local_path, languages=langs, fallback = True)

"""Install the language, map _() (which we marked our
strings to translate with) to self.lang.gettext() which will
translate them."""
_ = lang.gettext

print 'LOCALIZE TO ', lang.info()
print _('_Open')