This file is indexed.

/usr/share/pyshared/SCRIBES/RegistrationManager.py is in scribes 0.4~r543-2.

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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
class Manager(object):

	def __init__(self, editor):
		editor.response()
		self.__init_attributes(editor)
		self.__sigid1 = editor.connect("register-object", self.__register_cb)
		self.__sigid2 = editor.connect("unregister-object", self.__unregister_cb)
		editor.response()

	def __init_attributes(self, editor):
		self.__editor = editor
		from collections import deque
		self.__objects = deque()
		return

	def __destroy(self):
		self.__editor.disconnect_signal(self.__sigid1, self.__editor)
		self.__editor.disconnect_signal(self.__sigid2, self.__editor)
		self.__editor.imanager.unregister_editor(self.__editor)
		self.__editor.window.destroy()
		del self.__editor
		del self
		self = None
		return False

	def __register(self, _object):
		self.__editor.response()
		self.__objects.append(_object)
		self.__editor.response()
		return False

	def __unregister(self, _object):
		try:
			self.__editor.response()
			self.__objects.remove(_object)
		except ValueError:
			print _object, "not in queue"
		finally:
			self.__editor.response()
			if not self.__objects: self.__destroy()
		return False

	def __register_cb(self, editor, _object):
		self.__register(_object)
		return False

	def __unregister_cb(self, editor, _object):
		self.__unregister(_object)
		return False