Lines Matching refs:self
32 def __init__(self, hash): argument
33 self.hash = hash
34 self.subject = None
35 self.tags = []
36 self.changes = {}
37 self.cc_list = []
38 self.signoff_set = set()
39 self.notes = []
40 self.change_id = None
41 self.rtags = collections.defaultdict(set)
42 self.warn = []
44 def __str__(self): argument
45 return self.subject
47 def AddChange(self, version, info): argument
54 if not self.changes.get(version):
55 self.changes[version] = []
56 self.changes[version].append(info)
58 def CheckTags(self): argument
71 str = self.subject
77 self.tags.append(tag)
81 def AddCc(self, cc_list): argument
87 self.cc_list += cc_list
89 def CheckDuplicateSignoff(self, signoff): argument
97 if signoff in self.signoff_set:
99 self.signoff_set.add(signoff)
102 def AddRtag(self, rtag_type, who): argument
109 self.rtags[rtag_type].add(who)