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