equal
deleted
inserted
replaced
93 break |
93 break |
94 |
94 |
95 path.reverse() |
95 path.reverse() |
96 return path |
96 return path |
97 |
97 |
|
98 def iterparents(self): |
|
99 def _uptoroot(self): |
|
100 curr = self |
|
101 while True: |
|
102 curr = curr.parent() |
|
103 if curr is None: |
|
104 break |
|
105 yield curr |
|
106 return _uptoroot(self) |
|
107 |
98 def notification_references(self, view): |
108 def notification_references(self, view): |
99 """used to control References field of email send on notification |
109 """used to control References field of email send on notification |
100 for this entity. `view` is the notification view. |
110 for this entity. `view` is the notification view. |
101 |
111 |
102 Should return a list of eids which can be used to generate message ids |
112 Should return a list of eids which can be used to generate message ids |