This file is indexed.

/usr/share/pyshared/lpltk/project.py is in python-launchpadlib-toolkit 2.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
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
55
56
57
58
59
60
61
#!/usr/bin/python

from person                      import Person
from bug_tasks                   import BugTasks
from utils                       import typecheck_Entry

# Project
#
class Project(object):
    # __init__
    #
    def __init__(self, service, lp_project):
        self.__service = service
        self.lp_project = typecheck_Entry(lp_project)

        self.__owner        = None
        self.__display_name = None
        self.__name         = None

    # __str__
    #
    def __str__(self):
        return self.display_name

    # owner
    #
    @property
    def owner(self):
        if self.__owner == None:
            self.__owner = Person(None, self.lp_project.owner)
        return self.__owner

    # name
    #
    @property
    def name(self):
        if self.__name == None:
            self.__name = self.lp_project.name
        return self.__name

    # display_name
    #
    @property
    def display_name(self):
        if self.__display_name == None:
            self.__display_name = self.lp_project.display_name
        return self.__display_name

    # searchTasks
    #
    def search_tasks(self, **params):
        bt = BugTasks(self.__service, self.lp_project.searchTasks(**params))
        return bt

    # self_link
    #
    @property
    def self_link(self):
        return self.lp_project.self_link

# vi:set ts=4 sw=4 expandtab: