This file is indexed.

/usr/share/pyshared/reinteract/window_builder.py is in reinteract 0.5.0-3.

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
# Copyright 2008 Owen Taylor
#
# This file is part of Reinteract and distributed under the terms
# of the BSD license. See the file COPYING in the Reinteract
# distribution for full details.
#
########################################################################

import os

import gtk

from global_settings import global_settings

class WindowBuilder:
    def __init__(self, name):
        filename = os.path.join(global_settings.dialogs_dir, name + ".xml")
        self.builder = gtk.Builder()
        self.builder.add_from_file(filename)

    def __getattr__(self, name):
        obj = self.builder.get_object(name)
        if obj:
            return obj
        else:
            raise AttributeError("%s instance has no attribute '%s'" % (self.__class__.__name__, name))