148
149
DistroSeriesDifferenceDisplayComment(comment) for
152
153
def can_request_diffs(self):
153
154
"""Does the user have permission to request diff calculation?"""
154
155
return check_permission('launchpad.Edit', self.context)
159
160
return self.request.is_ajax and self.can_request_diffs
163
179
"""Only show diffs if there's a base version."""