/usr/share/pyshared/lpltk/bug_target.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 | #!/usr/bin/python
from utils import typecheck_Entry
class BugTarget(object):
# __init__
#
def __init__(self, service, bug, lp_bug_target):
self.__service = service
self.__bug = bug
self.__lp_bug_target = typecheck_Entry(lp_bug_target)
self.__name = None
@property
def name(self):
if self.__name == None:
self.__name = self.__lp_bug_target.name
return self.__name
# vi:set ts=4 sw=4 expandtab:
|