def UpdateRietveldDescription(self): """Sets the description for an issue on Rietveld.""" data = [ ("description", self.description), ] ctype, body = upload.EncodeMultipartFormData(data, []) SendToRietveld("/%d/description" % self.issue, body, ctype)
def CloseIssue(self): """Closes the Rietveld issue for this changelist.""" data = [ ("description", self.description), ] ctype, body = upload.EncodeMultipartFormData(data, []) SendToRietveld("/%d/close" % self.issue, body, ctype)